{"action":"created","issue":{"url":"https://api.github.com/repos/spazzarama/SharedMemory/issues/3","repository_url":"https://api.github.com/repos/spazzarama/SharedMemory","labels_url":"https://api.github.com/repos/spazzarama/SharedMemory/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/spazzarama/SharedMemory/issues/3/comments","events_url":"https://api.github.com/repos/spazzarama/SharedMemory/issues/3/events","html_url":"https://github.com/spazzarama/SharedMemory/pull/3","id":130919715,"number":3,"title":"Modified CircularBuffer to limit its Read output to the amount written ...","user":{"login":"MikeFair","id":2304557,"avatar_url":"https://avatars.githubusercontent.com/u/2304557?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeFair","html_url":"https://github.com/MikeFair","followers_url":"https://api.github.com/users/MikeFair/followers","following_url":"https://api.github.com/users/MikeFair/following{/other_user}","gists_url":"https://api.github.com/users/MikeFair/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeFair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeFair/subscriptions","organizations_url":"https://api.github.com/users/MikeFair/orgs","repos_url":"https://api.github.com/users/MikeFair/repos","events_url":"https://api.github.com/users/MikeFair/events{/privacy}","received_events_url":"https://api.github.com/users/MikeFair/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-03T05:43:15Z","updated_at":"2016-02-03T06:45:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/spazzarama/SharedMemory/pulls/3","html_url":"https://github.com/spazzarama/SharedMemory/pull/3","diff_url":"https://github.com/spazzarama/SharedMemory/pull/3.diff","patch_url":"https://github.com/spazzarama/SharedMemory/pull/3.patch"},"body":"…to the node instead of the whole NodeBufferSize.\r\n\r\nReplaced _padding0 in the Node struct with amount_written;\r\nupdated the Write functions to assign node->amount_written based on the amount written;\r\nupdated the Read functions to use node->amount_written in place of NodeBufferSize when figuring out how much data to return."},"comment":{"url":"https://api.github.com/repos/spazzarama/SharedMemory/issues/comments/179044847","html_url":"https://github.com/spazzarama/SharedMemory/pull/3#issuecomment-179044847","issue_url":"https://api.github.com/repos/spazzarama/SharedMemory/issues/3","id":179044847,"user":{"login":"MikeFair","id":2304557,"avatar_url":"https://avatars.githubusercontent.com/u/2304557?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeFair","html_url":"https://github.com/MikeFair","followers_url":"https://api.github.com/users/MikeFair/followers","following_url":"https://api.github.com/users/MikeFair/following{/other_user}","gists_url":"https://api.github.com/users/MikeFair/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeFair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeFair/subscriptions","organizations_url":"https://api.github.com/users/MikeFair/orgs","repos_url":"https://api.github.com/users/MikeFair/repos","events_url":"https://api.github.com/users/MikeFair/events{/privacy}","received_events_url":"https://api.github.com/users/MikeFair/received_events","type":"User","site_admin":false},"created_at":"2016-02-03T06:45:36Z","updated_at":"2016-02-03T06:45:36Z","body":"@spazzarama; changes made. :)\r\n"}}