5 #ifndef PACKAGER_MEDIA_BASE_BYTE_QUEUE_H_
6 #define PACKAGER_MEDIA_BASE_BYTE_QUEUE_H_
11 #include <packager/macros/classes.h>
30 void Push(
const uint8_t* data,
int size);
34 void Peek(
const uint8_t** data,
int* size)
const;
42 uint8_t* front()
const;
44 std::unique_ptr<uint8_t[]> buffer_;
All the methods that are virtual are virtual for mocking.