5 #ifndef MEDIA_BASE_BYTE_QUEUE_H_
6 #define MEDIA_BASE_BYTE_QUEUE_H_
12 #include "packager/base/macros.h"
31 void Push(
const uint8_t* data,
int size);
35 void Peek(
const uint8_t** data,
int* size)
const;
43 uint8_t* front()
const;
45 std::unique_ptr<uint8_t[]> buffer_;
62 #endif // MEDIA_BASE_BYTE_QUEUE_H_