D
DBC User
I have a binary writer and when I write a unsigned int I was expecting
it to write 4 bytes but it is writing 5 bytes and last last byte being
0B. Also when I write string it is adding byte 01 at the, here is the
one liner I am using
writer.Write(field.Substring(0, length)) //where field is string
Any idea why I am getting OB in the unsigned int field and 01 between
two string writes??
Thanks.
it to write 4 bytes but it is writing 5 bytes and last last byte being
0B. Also when I write string it is adding byte 01 at the, here is the
one liner I am using
writer.Write(field.Substring(0, length)) //where field is string
Any idea why I am getting OB in the unsigned int field and 01 between
two string writes??
Thanks.