{"action":"created","issue":{"url":"https://api.github.com/repos/Bit-Wasp/buffertools-php/issues/2","labels_url":"https://api.github.com/repos/Bit-Wasp/buffertools-php/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Bit-Wasp/buffertools-php/issues/2/comments","events_url":"https://api.github.com/repos/Bit-Wasp/buffertools-php/issues/2/events","html_url":"https://github.com/Bit-Wasp/buffertools-php/issues/2","id":66115581,"number":2,"title":"Immutable? Fixed Size?","user":{"login":"rubensayshi","id":649160,"avatar_url":"https://avatars.githubusercontent.com/u/649160?v=3","gravatar_id":"","url":"https://api.github.com/users/rubensayshi","html_url":"https://github.com/rubensayshi","followers_url":"https://api.github.com/users/rubensayshi/followers","following_url":"https://api.github.com/users/rubensayshi/following{/other_user}","gists_url":"https://api.github.com/users/rubensayshi/gists{/gist_id}","starred_url":"https://api.github.com/users/rubensayshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubensayshi/subscriptions","organizations_url":"https://api.github.com/users/rubensayshi/orgs","repos_url":"https://api.github.com/users/rubensayshi/repos","events_url":"https://api.github.com/users/rubensayshi/events{/privacy}","received_events_url":"https://api.github.com/users/rubensayshi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-03T09:31:06Z","updated_at":"2015-04-03T16:32:04Z","closed_at":null,"body":"Hey @afk11 (and maybe @btcdrak can butt in too :D?)\r\n\r\nI just added https://github.com/Bit-Wasp/buffertools-php/commit/8fe7be567476d96371cddf35f08880bebea79bcf because they were part of your cleanup PR to bitcoin-php but I don't like it xD\r\n\r\nConsidering we have a `Parser` for writing stuff, would it maybe make sense to make the `Buffer` immutable? so `prepend` and `append` would return a new instance of `Buffer` with the result, but not modifying the original instance?\r\n\r\nAnd another is, maybe we could enforce the size that is specified?  \r\nmuch like how zval works in extensions, if there's more data than the size then you won't be able to get it  \r\nand we can also use the specified size to zero pad the binary or hex values returned from it?"},"comment":{"url":"https://api.github.com/repos/Bit-Wasp/buffertools-php/issues/comments/89344942","html_url":"https://github.com/Bit-Wasp/buffertools-php/issues/2#issuecomment-89344942","issue_url":"https://api.github.com/repos/Bit-Wasp/buffertools-php/issues/2","id":89344942,"user":{"login":"rubensayshi","id":649160,"avatar_url":"https://avatars.githubusercontent.com/u/649160?v=3","gravatar_id":"","url":"https://api.github.com/users/rubensayshi","html_url":"https://github.com/rubensayshi","followers_url":"https://api.github.com/users/rubensayshi/followers","following_url":"https://api.github.com/users/rubensayshi/following{/other_user}","gists_url":"https://api.github.com/users/rubensayshi/gists{/gist_id}","starred_url":"https://api.github.com/users/rubensayshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubensayshi/subscriptions","organizations_url":"https://api.github.com/users/rubensayshi/orgs","repos_url":"https://api.github.com/users/rubensayshi/repos","events_url":"https://api.github.com/users/rubensayshi/events{/privacy}","received_events_url":"https://api.github.com/users/rubensayshi/received_events","type":"User","site_admin":false},"created_at":"2015-04-03T16:32:04Z","updated_at":"2015-04-03T16:32:04Z","body":"created a PR for this; https://github.com/Bit-Wasp/buffertools-php/pull/3"}}