{"action":"created","issue":{"url":"https://api.github.com/repos/Storj/core/issues/311","repository_url":"https://api.github.com/repos/Storj/core","labels_url":"https://api.github.com/repos/Storj/core/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/Storj/core/issues/311/comments","events_url":"https://api.github.com/repos/Storj/core/issues/311/events","html_url":"https://github.com/Storj/core/issues/311","id":169806859,"number":311,"title":"Ability to download/stream a file from arbitrary start and end positions","user":{"login":"NicoNet","id":123434,"avatar_url":"https://avatars.githubusercontent.com/u/123434?v=3","gravatar_id":"","url":"https://api.github.com/users/NicoNet","html_url":"https://github.com/NicoNet","followers_url":"https://api.github.com/users/NicoNet/followers","following_url":"https://api.github.com/users/NicoNet/following{/other_user}","gists_url":"https://api.github.com/users/NicoNet/gists{/gist_id}","starred_url":"https://api.github.com/users/NicoNet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicoNet/subscriptions","organizations_url":"https://api.github.com/users/NicoNet/orgs","repos_url":"https://api.github.com/users/NicoNet/repos","events_url":"https://api.github.com/users/NicoNet/events{/privacy}","received_events_url":"https://api.github.com/users/NicoNet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-07T17:33:54Z","updated_at":"2016-08-07T23:01:28Z","closed_at":null,"body":"I could say I want 187MB-201MB of a 1GB file.  And, get just that portion rather than downloading/streaming from the start."},"comment":{"url":"https://api.github.com/repos/Storj/core/issues/comments/238114165","html_url":"https://github.com/Storj/core/issues/311#issuecomment-238114165","issue_url":"https://api.github.com/repos/Storj/core/issues/311","id":238114165,"user":{"login":"bookchin","id":1188875,"avatar_url":"https://avatars.githubusercontent.com/u/1188875?v=3","gravatar_id":"","url":"https://api.github.com/users/bookchin","html_url":"https://github.com/bookchin","followers_url":"https://api.github.com/users/bookchin/followers","following_url":"https://api.github.com/users/bookchin/following{/other_user}","gists_url":"https://api.github.com/users/bookchin/gists{/gist_id}","starred_url":"https://api.github.com/users/bookchin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bookchin/subscriptions","organizations_url":"https://api.github.com/users/bookchin/orgs","repos_url":"https://api.github.com/users/bookchin/repos","events_url":"https://api.github.com/users/bookchin/events{/privacy}","received_events_url":"https://api.github.com/users/bookchin/received_events","type":"User","site_admin":false},"created_at":"2016-08-07T23:01:28Z","updated_at":"2016-08-07T23:01:28Z","body":"This should already be possible with a *little bit* of elbow grease. Use the `BridgeClient#getFilePointers` method to get the slice of shard pointers for the file, then use the `BridgeClient#resolveFileFromPointers` method to get a stream from those slices. Pipe that result through a `stream.Transform` that drops any bytes off the beginning and end of the slice.\r\n\r\nIf I get some time this week, I'll add an example and maybe add a convenience method for doing so. "}}
{"actor":{"display_login":"bookchin"}}