C# Class ScrewTurn.Wiki.Plugins.SqlCommon.Tools

Implements tools.
Mostra file Open project: mono/ScrewTurnWiki

Public Methods

Method Description
ReadStream ( Stream stream, byte &buffer, int maxSize ) : int

Reads the contents of a T:Stream in a byte array, beginning at the current position through the end.

Method Details

ReadStream() public static method

Reads the contents of a T:Stream in a byte array, beginning at the current position through the end.
public static ReadStream ( Stream stream, byte &buffer, int maxSize ) : int
stream Stream The .
buffer byte The output byte array (allocated by the method).
maxSize int The max size to read.
return int