27#ifndef INCLUDED_STREAM
28#define INCLUDED_STREAM
OutputBufferManager()
Definition: stream.cpp:34
size_t m_capacity
Definition: stream.h:74
void Reset()
Definition: stream.cpp:39
size_t Size() const
Definition: stream.h:59
size_t m_size
Definition: stream.h:68
std::shared_ptr< u8 > m_mem
Definition: stream.h:70
bool IsAllowableBuffer(u8 *buffer, size_t size)
Definition: stream.cpp:74
u8 * Buffer() const
Definition: stream.h:54
void AllocateBuffer(size_t size)
allocate a new output buffer.
Definition: stream.cpp:54
void SetBuffer(u8 *buffer, size_t size)
Definition: stream.cpp:46
u8 * m_buffer
Definition: stream.h:67
Status Feed(const u8 *in, size_t inSize)
'feed' the codec with a data block.
Definition: stream.cpp:116
u32 Checksum() const
Definition: stream.h:99
Status Finish()
Definition: stream.cpp:132
size_t m_inConsumed
Definition: stream.h:108
Stream(const PICodec &codec)
Definition: stream.cpp:97
PICodec m_codec
Definition: stream.h:105
size_t OutSize() const
Definition: stream.h:94
u32 m_checksum
Definition: stream.h:110
OutputBufferManager m_outputBufferManager
Definition: stream.h:106
size_t m_outProduced
Definition: stream.h:109
void SetOutputBuffer(u8 *out, size_t outSize)
Definition: stream.cpp:110
void AllocateOutputBuffer(size_t outSizeMax)
Definition: stream.cpp:104
std::shared_ptr< ICodec > PICodec
Definition: codec.h:92
i64 Status
Error handling system.
Definition: status.h:173
Stream & stream
Definition: stream.h:130
Status operator()(const u8 *data, size_t size) const
Definition: stream.h:124
StreamFeeder(Stream &stream)
Definition: stream.h:119
NONCOPYABLE(StreamFeeder)
uint8_t u8
Definition: types.h:37
uint32_t u32
Definition: types.h:39
static void out(const wchar_t *fmt,...)
Definition: wdbg_sym.cpp:407