5 #ifndef PACKAGER_MEDIA_BASE_BYTE_QUEUE_H_ 6 #define PACKAGER_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 // PACKAGER_MEDIA_BASE_BYTE_QUEUE_H_ All the methods that are virtual are virtual for mocking.