Share via


GraphicsStream.Read Method ()

Reads from the current stream and advances the position within it by the number of bytes read.

Overload List

public string Read(bool);
public override int Read(byte[], int, int);
public ValueType Read(Type);
public Array Read(Type, int[]);

Remarks

Exceptions

NotSupportedExceptionLeave Site

Unable to read from the stream buffer, or there is no data to read.

ArgumentExceptionLeave Site

One of the parameters is invalid, the stream buffer is not large enough to hold the requested data, or ranks is greater than three.