© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
24 replies
Boggo

❔ Sizing of Byte Arrays

So im sending byte arrays over a network stream, the byte arrays represent objects of various types. I am wondering how best to assign a size to the byte array when recieving it, should it be done dynamically in each case somehow? or does it not matter if the end of the byte array is empty?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

❔ BeginReceive IList<ArraySegment<byte>> Overload
C#CC# / help
3y ago
.NET 8 Websocket receiving byte arrays are incorrect
C#CC# / help
2y ago
Use of inline arrays to model arrays of structs
C#CC# / help
6mo ago
❔ Dynamic sizing of Grid Rows
C#CC# / help
3y ago