{"action":"created","issue":{"url":"https://api.github.com/repos/hybridgroup/rubyserial/issues/20","labels_url":"https://api.github.com/repos/hybridgroup/rubyserial/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/hybridgroup/rubyserial/issues/20/comments","events_url":"https://api.github.com/repos/hybridgroup/rubyserial/issues/20/events","html_url":"https://github.com/hybridgroup/rubyserial/pull/20","id":54577590,"number":20,"title":"Allow reading zero-bytes (0x00) using getbyte.","user":{"login":"donv","id":57275,"avatar_url":"https://avatars.githubusercontent.com/u/57275?v=3","gravatar_id":"","url":"https://api.github.com/users/donv","html_url":"https://github.com/donv","followers_url":"https://api.github.com/users/donv/followers","following_url":"https://api.github.com/users/donv/following{/other_user}","gists_url":"https://api.github.com/users/donv/gists{/gist_id}","starred_url":"https://api.github.com/users/donv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donv/subscriptions","organizations_url":"https://api.github.com/users/donv/orgs","repos_url":"https://api.github.com/users/donv/repos","events_url":"https://api.github.com/users/donv/events{/privacy}","received_events_url":"https://api.github.com/users/donv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-16T13:55:43Z","updated_at":"2015-01-19T13:51:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hybridgroup/rubyserial/pulls/20","html_url":"https://github.com/hybridgroup/rubyserial/pull/20","diff_url":"https://github.com/hybridgroup/rubyserial/pull/20.diff","patch_url":"https://github.com/hybridgroup/rubyserial/pull/20.patch"},"body":"We experienced getting nil instead of a zero byte when reading using getbyte.\r\n\r\nCan this make the 0.2.2 release?   :smile: "},"comment":{"url":"https://api.github.com/repos/hybridgroup/rubyserial/issues/comments/70494738","html_url":"https://github.com/hybridgroup/rubyserial/pull/20#issuecomment-70494738","issue_url":"https://api.github.com/repos/hybridgroup/rubyserial/issues/20","id":70494738,"user":{"login":"zankich","id":1727934,"avatar_url":"https://avatars.githubusercontent.com/u/1727934?v=3","gravatar_id":"","url":"https://api.github.com/users/zankich","html_url":"https://github.com/zankich","followers_url":"https://api.github.com/users/zankich/followers","following_url":"https://api.github.com/users/zankich/following{/other_user}","gists_url":"https://api.github.com/users/zankich/gists{/gist_id}","starred_url":"https://api.github.com/users/zankich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zankich/subscriptions","organizations_url":"https://api.github.com/users/zankich/orgs","repos_url":"https://api.github.com/users/zankich/repos","events_url":"https://api.github.com/users/zankich/events{/privacy}","received_events_url":"https://api.github.com/users/zankich/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T13:51:49Z","updated_at":"2015-01-19T13:51:49Z","body":"@donv ah yes so your source is sending you a null character, but rubyserial is passing it along as a ruby `nil` and not the `0x00`. A similar change is required for the windows implementation so that we have consistent behavior between both platforms https://github.com/hybridgroup/rubyserial/blob/master/lib/rubyserial/windows.rb#L64"}}