StreamUtils.ReadFully Method (Stream, Byte[], Int32, Int32)

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

StreamUtils.ReadFully Method (Stream, Byte[], Int32, Int32)

Read from a Stream" ensuring all the required data is read.

public static void ReadFully(
   Stream stream,
   byte[] buffer,
   int offset,
   int count
);

Parameters

stream
The stream to read data from.
buffer
The buffer to store data in.
offset
The offset at which to begin storing data.
count
The number of bytes of data to store.

See Also

StreamUtils Class | ICSharpCode.SharpZipLib.Core Namespace | StreamUtils.ReadFully Overload List