MP4StreamReaderReadBuffer Method (Int32, Int32)MediaSuite 3.1.1889.0
Reads a number of bytes into a newly created buffer. The returned buffer will have the size of the passed
size
parameter. EOS will be set if the number of bytes read equals zero or is less than
size
.

Namespace: StreamCoders.Container.MP4
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax

public byte[] ReadBuffer(
	int size,
	ref int bytesRead
)

Parameters

size
Type: SystemInt32
The number of bytes to read.
bytesRead
Type: SystemInt32
Returns the number of bytes that were actually read from the stream.

Return Value

Type: Byte
An array of byte.
See Also

Reference