{"action":"created","issue":{"url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/96","labels_url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/96/comments","events_url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/96/events","html_url":"https://github.com/michaeledgar/protobuf-net/issues/96","id":58233403,"number":96,"title":"Add support to pass length prefix as BigEndian ","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/michaeledgar/protobuf-net/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/michaeledgar/protobuf-net/labels/Milestone-Release2.0","name":"Milestone-Release2.0","color":"ededed"},{"url":"https://api.github.com/repos/michaeledgar/protobuf-net/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/michaeledgar/protobuf-net/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-19T16:42:06Z","updated_at":"2015-02-19T16:42:08Z","closed_at":null,"body":"```\nThe project I am working on passes a protocol buffer as the request format. \nThe issue I ran into is that using PrefixStyle.Fixed32 with \nSerializeWithLengthPrefix would cause the length to be persisted with the \nwrong endianness. This prevented me from pointing Serializer directly against \nthe network stream like I had wished. I added support to the v1 branch so \nthat you can use PrefixStyle.Fixed32BigEndian.   \n\nLet me know if you want me to make any changes to this patch.\n```\n\n-----\nOriginal issue reported on code.google.com by `jcustenb...@gmail.com` on 24 Feb 2010 at 3:19\n\nAttachments:\n* [PrefixStyle.cs](https://storage.googleapis.com/google-code-attachments/protobuf-net/issue-96/comment-0/PrefixStyle.cs)\n* [SerializationContext.cs](https://storage.googleapis.com/google-code-attachments/protobuf-net/issue-96/comment-0/SerializationContext.cs)\n* [SerializationContext.Write.cs](https://storage.googleapis.com/google-code-attachments/protobuf-net/issue-96/comment-0/SerializationContext.Write.cs)\n* [Serializer.cs](https://storage.googleapis.com/google-code-attachments/protobuf-net/issue-96/comment-0/Serializer.cs)\n"},"comment":{"url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/comments/75086537","html_url":"https://github.com/michaeledgar/protobuf-net/issues/96#issuecomment-75086537","issue_url":"https://api.github.com/repos/michaeledgar/protobuf-net/issues/96","id":75086537,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T16:42:07Z","updated_at":"2015-02-19T16:42:07Z","body":"```\nI already have the patch, so I know what we need to do here. Simply: the \"v2\" \nwork is \nconsuming most of my time at the moment. I'll roll it in soon ;-p\n\n\n```\n\n-----\nOriginal comment by `marc.gravell` on 3 Mar 2010 at 7:46\n* Changed state: **Accepted**"}}