5 #ifndef MEDIA_BASE_BYTE_QUEUE_H_
6 #define MEDIA_BASE_BYTE_QUEUE_H_
10 #include "packager/base/memory/scoped_ptr.h"
12 namespace edash_packager {
29 void Push(
const uint8_t* data,
int size);
33 void Peek(
const uint8_t** data,
int* size)
const;
41 uint8_t* front()
const;
43 scoped_ptr<uint8_t[]> buffer_;
60 #endif // MEDIA_BASE_BYTE_QUEUE_H_