ServiceStack.StreamExtensions.ReadExactly C# (CSharp) Method

ReadExactly() public static method

Reads into a buffer, filling it completely.
public static ReadExactly ( this input, byte buffer ) : byte[]
input this
buffer byte
return byte[]
        public static byte[] ReadExactly(this Stream input, byte[] buffer)
        {
            return ReadExactly(input, buffer, buffer.Length);
        }

Same methods

StreamExtensions::ReadExactly ( this input, byte buffer, int bytesToRead ) : byte[]
StreamExtensions::ReadExactly ( this input, byte buffer, int startIndex, int bytesToRead ) : byte[]
StreamExtensions::ReadExactly ( this input, int bytesToRead ) : byte[]