METHOD

Stream.ReadExactly

Fills the buffer or reports premature end of stream.

Formal Syntax & Structure

csharp syntaxcsharp
stream.ReadExactly(buffer)

Working Example

Example Snippetcsharp
// Documentary fragment; see lesson for context and imports.stream.ReadExactly(buffer);
C# & .NET Reference