public NativeBufferStream(int size) { if (size < 0) { size = 0; } _Buffer = new NativeBufferStruct(size + _HeadSpace); _Offset = _HeadSpace; _Count = 0; _Pos = 0; }
public NativeByteListStruct(int size) { _Buffer = new NativeBufferStruct(size); _Count = 0; }
public NativeBuffer(int cnt) { _Buffer = new NativeBufferStruct(cnt); }