MP4StreamReaderReadByteBuffer Method (Int32, Int32) |
Reads a number of bytes into a newly created buffer. The returned buffer will have the
size of the passed
parameter. EOS will be set if the number of bytes
read equals zero or is less than
.
Namespace: StreamCoders.Container.MP4Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax public byte[] ReadByteBuffer(
int size,
ref int bytesRead
)
Public Function ReadByteBuffer (
size As Integer,
ByRef bytesRead As Integer
) As Byte()
public:
array<unsigned char>^ ReadByteBuffer(
int size,
int% bytesRead
)
member ReadByteBuffer :
size : int *
bytesRead : int byref -> byte[]
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