{"action":"created","issue":{"url":"https://api.github.com/repos/sandstorm-io/capnproto/issues/248","labels_url":"https://api.github.com/repos/sandstorm-io/capnproto/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/sandstorm-io/capnproto/issues/248/comments","events_url":"https://api.github.com/repos/sandstorm-io/capnproto/issues/248/events","html_url":"https://github.com/sandstorm-io/capnproto/issues/248","id":108625075,"number":248,"title":"Suggested way of writing Capnp to file (#msg unknown)","user":{"login":"RobinUS2","id":1712500,"avatar_url":"https://avatars.githubusercontent.com/u/1712500?v=3","gravatar_id":"","url":"https://api.github.com/users/RobinUS2","html_url":"https://github.com/RobinUS2","followers_url":"https://api.github.com/users/RobinUS2/followers","following_url":"https://api.github.com/users/RobinUS2/following{/other_user}","gists_url":"https://api.github.com/users/RobinUS2/gists{/gist_id}","starred_url":"https://api.github.com/users/RobinUS2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobinUS2/subscriptions","organizations_url":"https://api.github.com/users/RobinUS2/orgs","repos_url":"https://api.github.com/users/RobinUS2/repos","events_url":"https://api.github.com/users/RobinUS2/events{/privacy}","received_events_url":"https://api.github.com/users/RobinUS2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-28T09:55:45Z","updated_at":"2015-10-02T08:03:24Z","closed_at":null,"body":"What is the preferred way of writing capnp messages to a file with an infinite (unknown beforehand) length? Basically we use this as a backup on local disk apart from the typical kafka path.\r\n\r\nWe used to write TSV with newline to disk, but I can imagine a newline character is not ideal when using capnp. \r\n\r\nIs there some form of streaming list writer to a file descriptor? Or is there a character / magic byte we can use to separate messages (something that is never used by capnp messages).\r\n\r\nThanks for the help (might be good to add this to the documentation)!"},"comment":{"url":"https://api.github.com/repos/sandstorm-io/capnproto/issues/comments/144950881","html_url":"https://github.com/sandstorm-io/capnproto/issues/248#issuecomment-144950881","issue_url":"https://api.github.com/repos/sandstorm-io/capnproto/issues/248","id":144950881,"user":{"login":"RobinUS2","id":1712500,"avatar_url":"https://avatars.githubusercontent.com/u/1712500?v=3","gravatar_id":"","url":"https://api.github.com/users/RobinUS2","html_url":"https://github.com/RobinUS2","followers_url":"https://api.github.com/users/RobinUS2/followers","following_url":"https://api.github.com/users/RobinUS2/following{/other_user}","gists_url":"https://api.github.com/users/RobinUS2/gists{/gist_id}","starred_url":"https://api.github.com/users/RobinUS2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobinUS2/subscriptions","organizations_url":"https://api.github.com/users/RobinUS2/orgs","repos_url":"https://api.github.com/users/RobinUS2/repos","events_url":"https://api.github.com/users/RobinUS2/events{/privacy}","received_events_url":"https://api.github.com/users/RobinUS2/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T08:03:24Z","updated_at":"2015-10-02T08:03:24Z","body":"@kentonv Could you maybe help me out? Thanks!"}}