コード例 #1
0
 public NativeBufferStream(int size)
 {
     if (size < 0)
     {
         size = 0;
     }
     _Buffer = new NativeBufferStruct(size + _HeadSpace);
     _Offset = _HeadSpace;
     _Count  = 0;
     _Pos    = 0;
 }
コード例 #2
0
 public NativeByteListStruct(int size)
 {
     _Buffer = new NativeBufferStruct(size);
     _Count  = 0;
 }
コード例 #3
0
 public NativeBuffer(int cnt)
 {
     _Buffer = new NativeBufferStruct(cnt);
 }