{"action":"opened","issue":{"url":"https://api.github.com/repos/dcodeIO/ByteBuffer.js/issues/43","labels_url":"https://api.github.com/repos/dcodeIO/ByteBuffer.js/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/dcodeIO/ByteBuffer.js/issues/43/comments","events_url":"https://api.github.com/repos/dcodeIO/ByteBuffer.js/issues/43/events","html_url":"https://github.com/dcodeIO/ByteBuffer.js/issues/43","id":56093790,"number":43,"title":"writeInt64 and similar methods should accept strings","user":{"login":"seishun","id":988441,"avatar_url":"https://avatars.githubusercontent.com/u/988441?v=3","gravatar_id":"","url":"https://api.github.com/users/seishun","html_url":"https://github.com/seishun","followers_url":"https://api.github.com/users/seishun/followers","following_url":"https://api.github.com/users/seishun/following{/other_user}","gists_url":"https://api.github.com/users/seishun/gists{/gist_id}","starred_url":"https://api.github.com/users/seishun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seishun/subscriptions","organizations_url":"https://api.github.com/users/seishun/orgs","repos_url":"https://api.github.com/users/seishun/repos","events_url":"https://api.github.com/users/seishun/events{/privacy}","received_events_url":"https://api.github.com/users/seishun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-30T22:34:02Z","updated_at":"2015-01-30T22:34:02Z","closed_at":null,"body":"I think it's common to store 64-bit integers as decimal strings. ProtoBuf.js already allows one to pass strings to e.g. uint64 fields, so maybe ByteBuffer.js should too.\r\n\r\nThis would save us from having to write code like:\r\n\r\n```js\r\npayload.writeUint64(ByteBuffer.Long.fromString(this.steamID));\r\n```"}}