public BufferReader ( byte buffer ) : System | ||
buffer | byte | The buffer being read. |
return | System |
public BufferReader(byte[] buffer)
{
if (buffer == null)
{
throw new Exception("buffer can't be null");
}
this.buffer = buffer;
this.length = (uint)buffer.Length;
this.position = 0;
}