{"action":"created","issue":{"url":"https://api.github.com/repos/pieroxy/lz-string/issues/71","labels_url":"https://api.github.com/repos/pieroxy/lz-string/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/pieroxy/lz-string/issues/71/comments","events_url":"https://api.github.com/repos/pieroxy/lz-string/issues/71/events","html_url":"https://github.com/pieroxy/lz-string/issues/71","id":129599466,"number":71,"title":"Demo Page Hex Incorrect","user":{"login":"koudelka","id":30394,"avatar_url":"https://avatars.githubusercontent.com/u/30394?v=3","gravatar_id":"","url":"https://api.github.com/users/koudelka","html_url":"https://github.com/koudelka","followers_url":"https://api.github.com/users/koudelka/followers","following_url":"https://api.github.com/users/koudelka/following{/other_user}","gists_url":"https://api.github.com/users/koudelka/gists{/gist_id}","starred_url":"https://api.github.com/users/koudelka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koudelka/subscriptions","organizations_url":"https://api.github.com/users/koudelka/orgs","repos_url":"https://api.github.com/users/koudelka/repos","events_url":"https://api.github.com/users/koudelka/events{/privacy}","received_events_url":"https://api.github.com/users/koudelka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-28T22:18:44Z","updated_at":"2016-01-29T00:28:27Z","closed_at":null,"body":"Hey there,\r\n\r\nIt looks like the hex output on the [demo page](http://pieroxy.net/blog/pages/lz-string/demo.html) is incorrect. It seems to be swapping pairs of bytes.\r\n\r\nFor the string `\"ab\"`, the hex output is `82 21 00 32`, which is `130 33 0 50` in decimal.\r\n\r\nWhereas `LZString144.compressToUint8Array(\"ab\")` gives `[33, 130, 50, 0]`."},"comment":{"url":"https://api.github.com/repos/pieroxy/lz-string/issues/comments/176495648","html_url":"https://github.com/pieroxy/lz-string/issues/71#issuecomment-176495648","issue_url":"https://api.github.com/repos/pieroxy/lz-string/issues/71","id":176495648,"user":{"login":"rquadling","id":12801,"avatar_url":"https://avatars.githubusercontent.com/u/12801?v=3","gravatar_id":"","url":"https://api.github.com/users/rquadling","html_url":"https://github.com/rquadling","followers_url":"https://api.github.com/users/rquadling/followers","following_url":"https://api.github.com/users/rquadling/following{/other_user}","gists_url":"https://api.github.com/users/rquadling/gists{/gist_id}","starred_url":"https://api.github.com/users/rquadling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rquadling/subscriptions","organizations_url":"https://api.github.com/users/rquadling/orgs","repos_url":"https://api.github.com/users/rquadling/repos","events_url":"https://api.github.com/users/rquadling/events{/privacy}","received_events_url":"https://api.github.com/users/rquadling/received_events","type":"User","site_admin":false},"created_at":"2016-01-29T00:28:27Z","updated_at":"2016-01-29T00:28:27Z","body":"I think this is the difference between 16bit (2 bytes, little endian) and 8bit displays."}}