I am trying to format a byte array in C # by porting code from Java. Java uses the methods "buf.putInt (value);", buf.putShort, buf.putDouble, (etc.). However, I do not know how to port this to C #. I tried the MemoryStream class, but there is no way to put a specific type at the end of a byte array.
Question: What is the Java equivalent of โByteBuffer.putType (value)โ in C #? Thanks!
Lazlo source share