C#C
C#3y ago
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?
Was this page helpful?