{"action":"created","issue":{"url":"https://api.github.com/repos/cppformat/cppformat/issues/122","labels_url":"https://api.github.com/repos/cppformat/cppformat/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/cppformat/cppformat/issues/122/comments","events_url":"https://api.github.com/repos/cppformat/cppformat/issues/122/events","html_url":"https://github.com/cppformat/cppformat/issues/122","id":59163166,"number":122,"title":"Can't write into a pre-existing buffer??","user":{"login":"mintyc","id":1765459,"avatar_url":"https://avatars.githubusercontent.com/u/1765459?v=3","gravatar_id":"","url":"https://api.github.com/users/mintyc","html_url":"https://github.com/mintyc","followers_url":"https://api.github.com/users/mintyc/followers","following_url":"https://api.github.com/users/mintyc/following{/other_user}","gists_url":"https://api.github.com/users/mintyc/gists{/gist_id}","starred_url":"https://api.github.com/users/mintyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mintyc/subscriptions","organizations_url":"https://api.github.com/users/mintyc/orgs","repos_url":"https://api.github.com/users/mintyc/repos","events_url":"https://api.github.com/users/mintyc/events{/privacy}","received_events_url":"https://api.github.com/users/mintyc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-26T23:33:04Z","updated_at":"2015-02-27T16:27:52Z","closed_at":null,"body":"If I have a pre-allocated region of memory I can't find an API that allows me to write directly into it without a memcpy as well (e.g. from a returned string)\r\n\r\nAm I missing something?\r\n\r\nSeems like a problem for high performance, so given your fantastic benchmark numbers I'm pretty sure it is me that is missing something!\r\n\r\nPS Maybe start a forum or discussion area for points like this?"},"comment":{"url":"https://api.github.com/repos/cppformat/cppformat/issues/comments/76422962","html_url":"https://github.com/cppformat/cppformat/issues/122#issuecomment-76422962","issue_url":"https://api.github.com/repos/cppformat/cppformat/issues/122","id":76422962,"user":{"login":"mintyc","id":1765459,"avatar_url":"https://avatars.githubusercontent.com/u/1765459?v=3","gravatar_id":"","url":"https://api.github.com/users/mintyc","html_url":"https://github.com/mintyc","followers_url":"https://api.github.com/users/mintyc/followers","following_url":"https://api.github.com/users/mintyc/following{/other_user}","gists_url":"https://api.github.com/users/mintyc/gists{/gist_id}","starred_url":"https://api.github.com/users/mintyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mintyc/subscriptions","organizations_url":"https://api.github.com/users/mintyc/orgs","repos_url":"https://api.github.com/users/mintyc/repos","events_url":"https://api.github.com/users/mintyc/events{/privacy}","received_events_url":"https://api.github.com/users/mintyc/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T16:27:52Z","updated_at":"2015-02-27T16:27:52Z","body":"Thanks very much\r\n\r\nI'd vote for FixedBuffer and FixedWriter to be part of the library. Seems a simple and elegant solution?\r\n"}}