Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 571033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:27:53+00:00 2026-05-13T13:27:53+00:00

What protocol definition do you recommend? I evaluated Google’s protocol buffers, but it does

  • 0

What protocol definition do you recommend?
I evaluated Google’s protocol buffers, but it does not allow me to control the placement of fields in the packet being built. I assume the same is true for Thrift. My requirements are:

  1. specify the location of fields in the packet
  2. allow for bit fields
  3. conditionals: a flag (bit field) = true means that data can appear at a later location in the packet
  4. ability to define a packet structure by referring to another packet definition

Thank you.

(“Flavor” on SourceForge, used for defining MPEG-4 might be a candidate, but I am looking for something that seems to have more of a community and preferably works in a .NET environment.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T13:27:53+00:00Added an answer on May 13, 2026 at 1:27 pm

    I’d be interested in the reasons for your requirements. Why do you need to control the position of the fields? Why are bitfields important? Conditionals?

    It sounds like you have a (more or less) fixed wire format for which you need to write a parser for, and in that case none of the existing popular protocol/serialization formats (Protobufs, Thrift, JSON, Yaml, etc.) will work for you.

    A somewhat unorthodox approach is to use Erlang or Haskell, both of which have good support for parsing binary protocols.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Google officially provides a C++ implementation of Google Protocol buffers, but I'm looking for
The descriptor protocol in Python 2.6 is only defined for class definitions, and thus
In the NSObject protocol, it defines a method that is similar to this: -(Class)
In the OAuth protocol, a service consumer will ask a user to authorize a
I have the UIApplicationDelegate protocol in my main AppDelegate.m class, with the applicationDidBecomeActive method
I am writing my first lines in objective-c for an iPhone app. This is
I'm using a oneway modifier in one of my Thrift function definitions: ... oneway
I am looking for a way to add a serialized value of an object
According to wikipedia : functional programming is a programming paradigm that treats computation as
I'm having a problem with deploing my solution to Windows Azure. I've created a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.