{"action":"created","issue":{"url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/173","repository_url":"https://api.github.com/repos/AltBeacon/android-beacon-library","labels_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/173/comments","events_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/173/events","html_url":"https://github.com/AltBeacon/android-beacon-library/issues/173","id":70553394,"number":173,"title":"Long data fields are not parsed properly","user":{"login":"davidgyoung","id":1044849,"avatar_url":"https://avatars.githubusercontent.com/u/1044849?v=3","gravatar_id":"","url":"https://api.github.com/users/davidgyoung","html_url":"https://github.com/davidgyoung","followers_url":"https://api.github.com/users/davidgyoung/followers","following_url":"https://api.github.com/users/davidgyoung/following{/other_user}","gists_url":"https://api.github.com/users/davidgyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/davidgyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidgyoung/subscriptions","organizations_url":"https://api.github.com/users/davidgyoung/orgs","repos_url":"https://api.github.com/users/davidgyoung/repos","events_url":"https://api.github.com/users/davidgyoung/events{/privacy}","received_events_url":"https://api.github.com/users/davidgyoung/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AltBeacon/android-beacon-library/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-24T01:00:18Z","updated_at":"2016-04-28T13:11:35Z","closed_at":null,"body":"Data fields don't parse properly if they are:\r\n * little endian\r\n * are longer than four bytes (the hex byte string formatting doesn't parse as an integer)\r\n * are multibyte (the endianness gets switched)"},"comment":{"url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/comments/215418269","html_url":"https://github.com/AltBeacon/android-beacon-library/issues/173#issuecomment-215418269","issue_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/173","id":215418269,"user":{"login":"davidgyoung","id":1044849,"avatar_url":"https://avatars.githubusercontent.com/u/1044849?v=3","gravatar_id":"","url":"https://api.github.com/users/davidgyoung","html_url":"https://github.com/davidgyoung","followers_url":"https://api.github.com/users/davidgyoung/followers","following_url":"https://api.github.com/users/davidgyoung/following{/other_user}","gists_url":"https://api.github.com/users/davidgyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/davidgyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidgyoung/subscriptions","organizations_url":"https://api.github.com/users/davidgyoung/orgs","repos_url":"https://api.github.com/users/davidgyoung/repos","events_url":"https://api.github.com/users/davidgyoung/events{/privacy}","received_events_url":"https://api.github.com/users/davidgyoung/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T13:11:35Z","updated_at":"2016-04-28T13:11:35Z","body":"There has been no work on this no.  In fact, since I noticed the problem, you are the only person I have heard from who seems to  be interested in the issue.\r\n\r\nThe data field parsing needs to be re-implemented to populate an arbitrary byte array provide new accessor methods that can get the data fields in this format.\r\n\r\nUntil then, the data fields are essentially limited to four bytes, and accessors will always return the bytes as as a big-endian signed long integer.\r\n\r\nI'd welcome a pull request if you are interested in working on this.  A change should leave the existing accessor methods as-is for backward compatibility, but provide new accessors that provide access to byte arrays."}}