V2/Cet/IO/Cet.IO/ByteArray/ByteArrayReader.NET.cs
/// <summary>
/// Read the a number of bytes from the current pointer,
/// but without actually moving it
/// </summary>
/// <param name="count">The number of bytes requested</param>
/// <returns></returns>
Read the a number of bytes from the current pointer,
but without actually moving it
Read the a number of bytes from the current pointer but without actually moving it
public byte[] Peek(int count)
        {
            var result = new byte[count];
            Buffer.BlockCopy(
                this._buffer,
                this.Position,
                result,
                0,
                count);
            return result;
        }
public byte [ ] Peek ( int count ) { var result = new byte [ count ] ; Buffer . BlockCopy ( this . _buffer , this . Position , result , 0 , count ) ; return result ; }
Read the a number of bytes from the current pointer,
but without actually moving it
Read the a number of bytes from the current pointer but without actually moving it
None
count
int
The number of bytes requested
The number of bytes requested