コード例 #1
0
 public byte[] ReadBytes(long count)
 {
     byte[] ret = new byte[count];
     ByteMarshal.CopyTo(_cur, ret, 0, count);
     _cur += count;
     return(ret);
 }
コード例 #2
0
 public void Read(byte[] buffer, long offset, long count)
 {
     ByteMarshal.CopyTo(_cur, buffer, offset, count);
     _cur += count;
 }
コード例 #3
0
 public void Write(byte[] buffer, long offset, long count)
 {
     ByteMarshal.CopyTo(buffer, offset, _cur, count);
     _cur += count;
 }