In C#, I can specify a fixed sized buffer using the fixed keyword, like so:
fixed
public unsafe struct StructWithFixedBuffer { public fixed char F
Quote:
size of the 128 element char array is 256 bytes. Fixed size char buffers always take two bytes per character, regardless of the encoding.
So you want:
struct StructWithFixedBuffer { char FixedBuffer[128*2]; };