Skip Navigation Links.

UnmanagedMemoryStream..::..Read Method

Read count bytes from the current position in the stream, and place them into the buffer starting at the given offset. The position will be updated to the point after the last byte read.

Namespace:  HDF5DotNet
Assembly:  HDF5DotNet (in HDF5DotNet.dll)

Syntax

Visual Basic
Public Overrides Function Read ( _
	<OutAttribute> buffer As Byte(), _
	offset As Integer, _
	count As Integer _
) As Integer
C#
public override int Read(
	byte[] buffer,
	int offset,
	int count
)
Visual C++
public:
virtual int Read(
	[InAttribute] [OutAttribute] array<unsigned char>^ buffer, 
	int offset, 
	int count
) override
JavaScript
function read(buffer, offset, count);

Parameters

buffer
Type: array<Byte>[]()[][]
Array that will receive the data read from the stream.
offset
Type: Int32
The position in the buffer where the first byte will be written.
count
Type: Int32
The maximum number of bytes to copy into the buffer.

Return Value

The actual number of bytes read into the buffer.

See Also