class ByteStreamProvider

Defined at line 20 of file ../../src/media/third_party/chromium_media/media/base/bit_reader_core.h

Public Methods

void ByteStreamProvider ()

Defined at line 20 of file ../../src/media/third_party/chromium_media/media/base/bit_reader_core.cc

void ~ByteStreamProvider ()

Defined at line 22 of file ../../src/media/third_party/chromium_media/media/base/bit_reader_core.cc

int GetBytes (int max_n, const uint8_t ** array)

Consume at most the following |max_n| bytes of the stream

and return the number n of bytes actually consumed.

Set |*array| to point to a memory buffer containing those n bytes.

Note: |*array| must be valid until the next call to GetBytes

but there is no guarantee it is valid after.