ServiceStack.StreamExtensions.ReadFully C# (CSharp) Method

ReadFully() public static method

Reads the given stream up to the end, returning the data as a byte array.
public static ReadFully ( this input ) : byte[]
input this
return byte[]
        public static byte[] ReadFully(this Stream input)
        {
            return ReadFully(input, DefaultBufferSize);
        }

Same methods

StreamExtensions::ReadFully ( this input, byte buffer ) : byte[]
StreamExtensions::ReadFully ( this input, int bufferSize ) : byte[]