{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/bytestring/issues/83","repository_url":"https://api.github.com/repos/haskell/bytestring","labels_url":"https://api.github.com/repos/haskell/bytestring/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/haskell/bytestring/issues/83/comments","events_url":"https://api.github.com/repos/haskell/bytestring/issues/83/events","html_url":"https://github.com/haskell/bytestring/issues/83","id":161868423,"number":83,"title":"Add IO functions for ShortByteStrings?","user":{"login":"hce","id":147689,"avatar_url":"https://avatars.githubusercontent.com/u/147689?v=3","gravatar_id":"","url":"https://api.github.com/users/hce","html_url":"https://github.com/hce","followers_url":"https://api.github.com/users/hce/followers","following_url":"https://api.github.com/users/hce/following{/other_user}","gists_url":"https://api.github.com/users/hce/gists{/gist_id}","starred_url":"https://api.github.com/users/hce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hce/subscriptions","organizations_url":"https://api.github.com/users/hce/orgs","repos_url":"https://api.github.com/users/hce/repos","events_url":"https://api.github.com/users/hce/events{/privacy}","received_events_url":"https://api.github.com/users/hce/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-23T08:36:08Z","updated_at":"2016-06-23T21:42:50Z","closed_at":null,"body":"I'm using ShortByteStrings to convert from (STUArray Int Word8). Having hPut available would save the memory allocation and memcpy that happens when converting a ShortByteString into a ByteString.\r\n\r\nWould you accept a patch that adds this function to ShortByteStrings?"},"comment":{"url":"https://api.github.com/repos/haskell/bytestring/issues/comments/228193489","html_url":"https://github.com/haskell/bytestring/issues/83#issuecomment-228193489","issue_url":"https://api.github.com/repos/haskell/bytestring/issues/83","id":228193489,"user":{"login":"hvr","id":285533,"avatar_url":"https://avatars.githubusercontent.com/u/285533?v=3","gravatar_id":"","url":"https://api.github.com/users/hvr","html_url":"https://github.com/hvr","followers_url":"https://api.github.com/users/hvr/followers","following_url":"https://api.github.com/users/hvr/following{/other_user}","gists_url":"https://api.github.com/users/hvr/gists{/gist_id}","starred_url":"https://api.github.com/users/hvr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvr/subscriptions","organizations_url":"https://api.github.com/users/hvr/orgs","repos_url":"https://api.github.com/users/hvr/repos","events_url":"https://api.github.com/users/hvr/events{/privacy}","received_events_url":"https://api.github.com/users/hvr/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T21:42:50Z","updated_at":"2016-06-23T21:42:50Z","body":"I/O function that may block typically require pinned memory afaik, so I don't think we can avoid the allocation & memcpy anyway..."}}
{"actor":{"display_login":"hvr"}}