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

  • SEARCH
  • Home
  • 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 8497069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:01:22+00:00 2026-06-11T00:01:22+00:00

I am recieving binary stream from an application I am running in Python. From

  • 0

I am recieving binary stream from an application I am running in Python.

From the binary stream, I want to create a C# object that is inside the stream in byte array.

How do I deserialise the object and retrieve the object from the binary stream?

We can ignore that it’s a python application. I am more interested in how binary streaming works.

  • 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-11T00:01:24+00:00Added an answer on June 11, 2026 at 12:01 am

    Just to add you a little general info:

    In C#/.Net there’s a general approach to serialize objects to NOT a binary form, because a binary form needs a lot of protocol-like headers to – note – include the metadata, and this causes the receiver to have to know the .Net/CLR inner structure very well.

    Instead, today, the objects are usually serialized to XML (when type information is crucial) or JSON formats (when only data matters), so that any receiver may read them quite easily, and more often – any 3rd party may easily generate new object-like data that our application may “just deserialize”, regardless of who generated it and on what platform.

    However, binary serialization is still used. XML/JSON data, even if compressed, is still usually larger than the binary image. However, the binary serialization is strictly used when we want the data to not be published to the outside world, or if we somehow magically know that it will be only processed on .Net with use of our assemblies.

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

Sidebar

Related Questions

I am recieving the below CommunicationException from a WCF service call. I understand that
My Application is recieving data from external hardware and plots it onto a panel
How to read binary streams from a HTTP streamer server in python. I did
I need to import a binary file from Python -- the contents are signed
When recieving a http post in GAE, I download a txt file from another
is there any small working program for recieving from and sending data to client
in my app' i'm recieving data from serial port and save them into two
I have a Windows service that is retrieving a few selected files from a
I am receiving a stream of data from a webservice and trying to save
I'm receiving data from tcp socket in binary view. In erlang shell i see:

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.