{"action":"created","issue":{"url":"https://api.github.com/repos/square/okio/issues/150","labels_url":"https://api.github.com/repos/square/okio/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/square/okio/issues/150/comments","events_url":"https://api.github.com/repos/square/okio/issues/150/events","html_url":"https://github.com/square/okio/issues/150","id":79708600,"number":150,"title":"Add a feature to load data in chuncks using BufferedSource ","user":{"login":"premrajm","id":4124838,"avatar_url":"https://avatars.githubusercontent.com/u/4124838?v=3","gravatar_id":"","url":"https://api.github.com/users/premrajm","html_url":"https://github.com/premrajm","followers_url":"https://api.github.com/users/premrajm/followers","following_url":"https://api.github.com/users/premrajm/following{/other_user}","gists_url":"https://api.github.com/users/premrajm/gists{/gist_id}","starred_url":"https://api.github.com/users/premrajm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/premrajm/subscriptions","organizations_url":"https://api.github.com/users/premrajm/orgs","repos_url":"https://api.github.com/users/premrajm/repos","events_url":"https://api.github.com/users/premrajm/events{/privacy}","received_events_url":"https://api.github.com/users/premrajm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-23T03:25:20Z","updated_at":"2015-05-23T04:05:00Z","closed_at":null,"body":"BufferedSource designed to use against InputStream but since BufferedSource loads entire data in memory, it cannot be used to read big files. \r\nIt would be great if BufferedSource can really buffer some chunk of data instead of whole file. \r\n\r\nSince Okio complements java.io and nio I really thought BufferedSource is an replacement/option to java's BufferedReader. \r\n\r\nExample I was trying : https://gist.github.com/premrajm/c5f012ced316b7de17b1"},"comment":{"url":"https://api.github.com/repos/square/okio/issues/comments/104832124","html_url":"https://github.com/square/okio/issues/150#issuecomment-104832124","issue_url":"https://api.github.com/repos/square/okio/issues/150","id":104832124,"user":{"login":"swankjesse","id":133019,"avatar_url":"https://avatars.githubusercontent.com/u/133019?v=3","gravatar_id":"","url":"https://api.github.com/users/swankjesse","html_url":"https://github.com/swankjesse","followers_url":"https://api.github.com/users/swankjesse/followers","following_url":"https://api.github.com/users/swankjesse/following{/other_user}","gists_url":"https://api.github.com/users/swankjesse/gists{/gist_id}","starred_url":"https://api.github.com/users/swankjesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swankjesse/subscriptions","organizations_url":"https://api.github.com/users/swankjesse/orgs","repos_url":"https://api.github.com/users/swankjesse/repos","events_url":"https://api.github.com/users/swankjesse/events{/privacy}","received_events_url":"https://api.github.com/users/swankjesse/received_events","type":"User","site_admin":false},"created_at":"2015-05-23T04:05:00Z","updated_at":"2015-05-23T04:05:00Z","body":"For what it's worth, the API lets you buffer as much as you want. `readString()` reads the whole thing in one go."}}