{"action":"created","issue":{"url":"https://api.github.com/repos/kothar/brotli-go/issues/4","labels_url":"https://api.github.com/repos/kothar/brotli-go/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/kothar/brotli-go/issues/4/comments","events_url":"https://api.github.com/repos/kothar/brotli-go/issues/4/events","html_url":"https://github.com/kothar/brotli-go/issues/4","id":117190064,"number":4,"title":"Streaming interface","user":{"login":"fasterthanlime","id":7998310,"avatar_url":"https://avatars.githubusercontent.com/u/7998310?v=3","gravatar_id":"","url":"https://api.github.com/users/fasterthanlime","html_url":"https://github.com/fasterthanlime","followers_url":"https://api.github.com/users/fasterthanlime/followers","following_url":"https://api.github.com/users/fasterthanlime/following{/other_user}","gists_url":"https://api.github.com/users/fasterthanlime/gists{/gist_id}","starred_url":"https://api.github.com/users/fasterthanlime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fasterthanlime/subscriptions","organizations_url":"https://api.github.com/users/fasterthanlime/orgs","repos_url":"https://api.github.com/users/fasterthanlime/repos","events_url":"https://api.github.com/users/fasterthanlime/events{/privacy}","received_events_url":"https://api.github.com/users/fasterthanlime/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-11-16T18:35:37Z","updated_at":"2015-11-17T15:05:10Z","closed_at":null,"body":"I'm currently looking into supporting `BrotliDecompressStream` and its compress equivalent, and I had a simple question: the README mentions the need to wrap some C++ structures, but (as of 10 days ago), `BrotliDecompressStream` & friends seem to be usable purely from the C interface?\r\n\r\nIt looks relatively easy to do but I'm a cgo noob so it might take me a day or two.\r\n\r\n(unsafe.)Pointers welcome!\r\n\r\n*P.S: do tell me if this issue is unwelcome noise on the issue tracker, in which case I'll try & get it working in my corner and come back with a PR later — just thought I'd deduplicate work in case someone is already on it!*"},"comment":{"url":"https://api.github.com/repos/kothar/brotli-go/issues/comments/157395726","html_url":"https://github.com/kothar/brotli-go/issues/4#issuecomment-157395726","issue_url":"https://api.github.com/repos/kothar/brotli-go/issues/4","id":157395726,"user":{"login":"kothar","id":378174,"avatar_url":"https://avatars.githubusercontent.com/u/378174?v=3","gravatar_id":"","url":"https://api.github.com/users/kothar","html_url":"https://github.com/kothar","followers_url":"https://api.github.com/users/kothar/followers","following_url":"https://api.github.com/users/kothar/following{/other_user}","gists_url":"https://api.github.com/users/kothar/gists{/gist_id}","starred_url":"https://api.github.com/users/kothar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kothar/subscriptions","organizations_url":"https://api.github.com/users/kothar/orgs","repos_url":"https://api.github.com/users/kothar/repos","events_url":"https://api.github.com/users/kothar/events{/privacy}","received_events_url":"https://api.github.com/users/kothar/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T15:05:10Z","updated_at":"2015-11-17T15:05:10Z","body":"It looks like it should be easy to wrap your compressor with Writer fairly easily - I guess you'd need a small buffer which gets flushed through the compressor when full, and a final block when the stream is closed."}}