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 8987237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:44:26+00:00 2026-06-15T21:44:26+00:00

Usually when I’m doing Network based work I am using Protobuf to move custom

  • 0

Usually when I’m doing Network based work I am using Protobuf to move custom objects around the network that are modelled for the system that is being built to move my data/composed objects from other systems.

I am currently involved in enhancing a project that is using a proprietary text based protocol that predominately uses text for serialisation (, | and [] notations) of data and Entityspaces as the Data Access layer.

The question I’m asking is should I create another layer of objects that provide the Protobuf network objects that are populated from the “load” of Data from the Entityspaces objects or should I add the necessary protobuf tags to the objects in the Entityspaces objects (they get autogenerated from the database and currently don’t have that)

  • 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-06-15T21:44:28+00:00Added an answer on June 15, 2026 at 9:44 pm

    Could go either way. If you need to to encode protobuf data into a text format: use base-64, which conveniently doesn’t use | / [ / ].

    If you prefer to protobuf-encode objects that aren’t currently attributed, there are ways to do that too: if the types from the database are generated as partial classes, then at the simplest you can just do (in another code file):

    namespace The.Same.Namespace {
        [ProtoContract]
        [ProtoPartialMember(1, "Foo")]
        [ProtoPartialMember(2, "Bar")]
        ...
        partial class SomeEntity {}
    }
    

    where Foo and Bar are members you want serialized. Or alternatively, you can configure the entire model at runtime:

    RuntimeTypeModel.Default.Add(typeof(SomeEntity), false).Add("Foo", "Bar");
    

    (that is a very basic configuration; much more subtle options are available)

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

Sidebar

Related Questions

Usually in a django view you would do something like queryset = MyModel.objects.something() How
Usually, the best practice in python, when using international languages, is to use unicode
Usually, flash streaming is done by capturing webcam video/audio and streaming using NetConnection and
Usually I work on the master branch, and I make some commits, and push
Usually I'm using One-to-many relationship by this way : class Study { static hasMany
Usually, parameter values are copied when being passed on. Using a reference may save
Usually I develop in Java but now I need to write an app that
Usually we load external swf file into Flash using 'Loader' class. var loader:Loader =
Usually when downloading files, suppose using QNetworkAccessManager, the filename is not present at the
Usually for thread safety, we access the field using synchronized(lock). If without using synchronized(lock)

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.