{"action":"created","issue":{"url":"https://api.github.com/repos/stijnfrishert/liblsdj/issues/30","repository_url":"https://api.github.com/repos/stijnfrishert/liblsdj","labels_url":"https://api.github.com/repos/stijnfrishert/liblsdj/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/stijnfrishert/liblsdj/issues/30/comments","events_url":"https://api.github.com/repos/stijnfrishert/liblsdj/issues/30/events","html_url":"https://github.com/stijnfrishert/liblsdj/issues/30","id":348352659,"node_id":"MDU6SXNzdWUzNDgzNTI2NTk=","number":30,"title":"How (de)compression works?","user":{"login":"8lall0","id":971324,"node_id":"MDQ6VXNlcjk3MTMyNA==","avatar_url":"https://avatars0.githubusercontent.com/u/971324?v=4","gravatar_id":"","url":"https://api.github.com/users/8lall0","html_url":"https://github.com/8lall0","followers_url":"https://api.github.com/users/8lall0/followers","following_url":"https://api.github.com/users/8lall0/following{/other_user}","gists_url":"https://api.github.com/users/8lall0/gists{/gist_id}","starred_url":"https://api.github.com/users/8lall0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/8lall0/subscriptions","organizations_url":"https://api.github.com/users/8lall0/orgs","repos_url":"https://api.github.com/users/8lall0/repos","events_url":"https://api.github.com/users/8lall0/events{/privacy}","received_events_url":"https://api.github.com/users/8lall0/received_events","type":"User","site_admin":false},"labels":[{"id":683459367,"node_id":"MDU6TGFiZWw2ODM0NTkzNjc=","url":"https://api.github.com/repos/stijnfrishert/liblsdj/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"stijnfrishert","id":7056711,"node_id":"MDQ6VXNlcjcwNTY3MTE=","avatar_url":"https://avatars3.githubusercontent.com/u/7056711?v=4","gravatar_id":"","url":"https://api.github.com/users/stijnfrishert","html_url":"https://github.com/stijnfrishert","followers_url":"https://api.github.com/users/stijnfrishert/followers","following_url":"https://api.github.com/users/stijnfrishert/following{/other_user}","gists_url":"https://api.github.com/users/stijnfrishert/gists{/gist_id}","starred_url":"https://api.github.com/users/stijnfrishert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stijnfrishert/subscriptions","organizations_url":"https://api.github.com/users/stijnfrishert/orgs","repos_url":"https://api.github.com/users/stijnfrishert/repos","events_url":"https://api.github.com/users/stijnfrishert/events{/privacy}","received_events_url":"https://api.github.com/users/stijnfrishert/received_events","type":"User","site_admin":false},"assignees":[{"login":"stijnfrishert","id":7056711,"node_id":"MDQ6VXNlcjcwNTY3MTE=","avatar_url":"https://avatars3.githubusercontent.com/u/7056711?v=4","gravatar_id":"","url":"https://api.github.com/users/stijnfrishert","html_url":"https://github.com/stijnfrishert","followers_url":"https://api.github.com/users/stijnfrishert/followers","following_url":"https://api.github.com/users/stijnfrishert/following{/other_user}","gists_url":"https://api.github.com/users/stijnfrishert/gists{/gist_id}","starred_url":"https://api.github.com/users/stijnfrishert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stijnfrishert/subscriptions","organizations_url":"https://api.github.com/users/stijnfrishert/orgs","repos_url":"https://api.github.com/users/stijnfrishert/repos","events_url":"https://api.github.com/users/stijnfrishert/events{/privacy}","received_events_url":"https://api.github.com/users/stijnfrishert/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-08-07T14:41:50Z","updated_at":"2018-08-08T11:30:53Z","closed_at":null,"author_association":"NONE","body":"Hi, \r\nthat's not an issue but i dunno where i can ask.\r\n\r\nHow decompression/compression works? I'm trying to port this library to golang and i'm not understanding very well the algorithm...\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/stijnfrishert/liblsdj/issues/comments/411374662","html_url":"https://github.com/stijnfrishert/liblsdj/issues/30#issuecomment-411374662","issue_url":"https://api.github.com/repos/stijnfrishert/liblsdj/issues/30","id":411374662,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTM3NDY2Mg==","user":{"login":"8lall0","id":971324,"node_id":"MDQ6VXNlcjk3MTMyNA==","avatar_url":"https://avatars0.githubusercontent.com/u/971324?v=4","gravatar_id":"","url":"https://api.github.com/users/8lall0","html_url":"https://github.com/8lall0","followers_url":"https://api.github.com/users/8lall0/followers","following_url":"https://api.github.com/users/8lall0/following{/other_user}","gists_url":"https://api.github.com/users/8lall0/gists{/gist_id}","starred_url":"https://api.github.com/users/8lall0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/8lall0/subscriptions","organizations_url":"https://api.github.com/users/8lall0/orgs","repos_url":"https://api.github.com/users/8lall0/repos","events_url":"https://api.github.com/users/8lall0/events{/privacy}","received_events_url":"https://api.github.com/users/8lall0/received_events","type":"User","site_admin":false},"created_at":"2018-08-08T11:30:53Z","updated_at":"2018-08-08T11:30:53Z","author_association":"NONE","body":"Hello and thanks for your time!\r\n\r\nA couple of things:\r\n\r\n- i made public my [repo](https://github.com/8lall0/liblsdj)\r\n\r\n- i'm dealing with this:\r\n`\r\n    union\r\n    {\r\n        struct\r\n        {\r\n            unsigned char pulse1[LSDJ_BOOKMARK_POSITION_COUNT];\r\n            unsigned char pulse2[LSDJ_BOOKMARK_POSITION_COUNT];\r\n            unsigned char wave[LSDJ_BOOKMARK_POSITION_COUNT];\r\n            unsigned char noise[LSDJ_BOOKMARK_POSITION_COUNT];\r\n        };\r\n        unsigned char channels[LSDJ_BOOKMARK_POSITION_COUNT][LSDJ_CHANNEL_COUNT];\r\n    } bookmarks;\r\n`\r\nWhat's the structure byte per byte of the input regarding bookmarks? Golang doesn't have unions...\r\n\r\n- What's the purpose of this line of code?\r\n\r\n`\r\n(chainAllocTable[i / 8] >> (i % 8)) & 1\r\n`\r\n\r\nI need to know because the way golang handles byte operations.\r\n\r\nThank you!"}}
{"actor":{"display_login":"8lall0"}}