{"action":"closed","issue":{"url":"https://api.github.com/repos/TheFlyingFiddle/GSOC-binformat/issues/2","labels_url":"https://api.github.com/repos/TheFlyingFiddle/GSOC-binformat/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/TheFlyingFiddle/GSOC-binformat/issues/2/comments","events_url":"https://api.github.com/repos/TheFlyingFiddle/GSOC-binformat/issues/2/events","html_url":"https://github.com/TheFlyingFiddle/GSOC-binformat/issues/2","id":74813052,"number":2,"title":"Implement encoding/decoding of bytes and (un)singed integers 16/32/64 bit.","user":{"login":"TheFlyingFiddle","id":1519827,"avatar_url":"https://avatars.githubusercontent.com/u/1519827?v=3","gravatar_id":"","url":"https://api.github.com/users/TheFlyingFiddle","html_url":"https://github.com/TheFlyingFiddle","followers_url":"https://api.github.com/users/TheFlyingFiddle/followers","following_url":"https://api.github.com/users/TheFlyingFiddle/following{/other_user}","gists_url":"https://api.github.com/users/TheFlyingFiddle/gists{/gist_id}","starred_url":"https://api.github.com/users/TheFlyingFiddle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheFlyingFiddle/subscriptions","organizations_url":"https://api.github.com/users/TheFlyingFiddle/orgs","repos_url":"https://api.github.com/users/TheFlyingFiddle/repos","events_url":"https://api.github.com/users/TheFlyingFiddle/events{/privacy}","received_events_url":"https://api.github.com/users/TheFlyingFiddle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TheFlyingFiddle/GSOC-binformat/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"TheFlyingFiddle","id":1519827,"avatar_url":"https://avatars.githubusercontent.com/u/1519827?v=3","gravatar_id":"","url":"https://api.github.com/users/TheFlyingFiddle","html_url":"https://github.com/TheFlyingFiddle","followers_url":"https://api.github.com/users/TheFlyingFiddle/followers","following_url":"https://api.github.com/users/TheFlyingFiddle/following{/other_user}","gists_url":"https://api.github.com/users/TheFlyingFiddle/gists{/gist_id}","starred_url":"https://api.github.com/users/TheFlyingFiddle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheFlyingFiddle/subscriptions","organizations_url":"https://api.github.com/users/TheFlyingFiddle/orgs","repos_url":"https://api.github.com/users/TheFlyingFiddle/repos","events_url":"https://api.github.com/users/TheFlyingFiddle/events{/privacy}","received_events_url":"https://api.github.com/users/TheFlyingFiddle/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/TheFlyingFiddle/GSOC-binformat/milestones/1","html_url":"https://github.com/TheFlyingFiddle/GSOC-binformat/milestones/Basic%20encoding%20and%20decoding%20with%20accociated%20operations.","labels_url":"https://api.github.com/repos/TheFlyingFiddle/GSOC-binformat/milestones/1/labels","id":1103407,"number":1,"title":"Basic encoding and decoding with accociated operations.","description":"The goal of this milestone is to implement the basic building blocks in the binary format. The encoding and decoding objects. Aswell a set of standard basic operations on these objects. The operations that will be implemented are (for now)\r\n\r\n[encoding]\r\n- writing length delimited strings\r\n- writing bytes\r\n- writing 16/32/64 bit signed and unsigned integers\r\n- writing 32/64 bit IEEE 754 floating point numbers\r\n- writing unsigned variable length integers using Google's Protocol Buffer varint format.\r\n- writing signed variable length integers using Google's Protocol Buffer zig-zag varint format.\r\n\r\n[decoding]\r\n- reading a length delimited string\r\n- reading a single byte\r\n- reading a 16/32/64 bit signed and unsigned integer\r\n- reading a 32/64 bit IEEE 754 floating point numbers\r\n- reading an unsigned number from Google's varint format.\r\n- reading a signed number from Google's zig-zag varint format. \r\n\r\nThis milestone has been reached when code acing to the following works properly:\r\n\r\nlocal encoding = require \"encoding\"\r\nlocal out = assert(io.open(\"stream.dat\", \"wb\"))\r\nlocal encoder = encoding.encoder(out)\r\nencoder:writevarint(2)\r\nencoder:writestring(\"Hello, World\")\r\nencoder:close()\r\nout:close()\r\n\r\nlocal in  = assert(io.open(\"stream.dat\", \"rb\"))\r\nlocal decoder = encoding.decoder(in)\r\n\r\nassert(decoder:readvarint() == 2)\r\nassert(decoder:readstring() == \"Hello, World\")\r\n\r\ndecoder:close()\r\nin:close()\r\n","creator":{"login":"TheFlyingFiddle","id":1519827,"avatar_url":"https://avatars.githubusercontent.com/u/1519827?v=3","gravatar_id":"","url":"https://api.github.com/users/TheFlyingFiddle","html_url":"https://github.com/TheFlyingFiddle","followers_url":"https://api.github.com/users/TheFlyingFiddle/followers","following_url":"https://api.github.com/users/TheFlyingFiddle/following{/other_user}","gists_url":"https://api.github.com/users/TheFlyingFiddle/gists{/gist_id}","starred_url":"https://api.github.com/users/TheFlyingFiddle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheFlyingFiddle/subscriptions","organizations_url":"https://api.github.com/users/TheFlyingFiddle/orgs","repos_url":"https://api.github.com/users/TheFlyingFiddle/repos","events_url":"https://api.github.com/users/TheFlyingFiddle/events{/privacy}","received_events_url":"https://api.github.com/users/TheFlyingFiddle/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":3,"state":"open","created_at":"2015-05-10T02:36:16Z","updated_at":"2015-05-24T03:43:58Z","due_on":"2015-05-24T22:00:00Z","closed_at":null},"comments":1,"created_at":"2015-05-10T02:41:08Z","updated_at":"2015-05-24T03:43:58Z","closed_at":"2015-05-24T03:43:58Z","body":"This issue regards implementing and testing encoding and decoding of integral of differing bit widths."}}