SwfDotNet.IO.Utils.BufferedBinaryReader.PeekBytes C# (CSharp) Method

PeekBytes() public method

Peeks the bytes.
public PeekBytes ( uint numToPeek ) : byte[]
numToPeek uint Num to peek.
return byte[]
        public byte[] PeekBytes(uint numToPeek)
        {
            if (numToPeek <= 0)
                return null;
            byte[] res = new byte[numToPeek];
            for (int i = 0; i < numToPeek; i++)
                res[i] = PeekByte();
            return res;
        }