Rizin
unix-like reverse engineering framework and cli tools
lzma_outbuf Struct Reference

Output buffer for a single thread. More...

#include <outqueue.h>

Public Attributes

uint8_tbuf
 Pointer to the output buffer of lzma_outq.buf_size_max bytes. More...
 
size_t size
 Amount of data written to buf. More...
 
lzma_vli unpadded_size
 Additional size information. More...
 
lzma_vli uncompressed_size
 
bool finished
 

Detailed Description

Output buffer for a single thread.

Definition at line 17 of file outqueue.h.

Member Data Documentation

◆ buf

uint8_t* lzma_outbuf::buf

Pointer to the output buffer of lzma_outq.buf_size_max bytes.

Definition at line 19 of file outqueue.h.

Referenced by lzma_outq_get_buf(), and worker_encode().

◆ finished

bool lzma_outbuf::finished

True when no more data will be written into this buffer.

Note
This is read by another thread and thus access to this variable needs a mutex.

Definition at line 32 of file outqueue.h.

Referenced by lzma_outq_is_readable(), and worker_start().

◆ size

size_t lzma_outbuf::size

Amount of data written to buf.

Definition at line 22 of file outqueue.h.

Referenced by worker_encode(), and worker_start().

◆ uncompressed_size

lzma_vli lzma_outbuf::uncompressed_size

Definition at line 26 of file outqueue.h.

Referenced by worker_encode(), and worker_start().

◆ unpadded_size

lzma_vli lzma_outbuf::unpadded_size

Additional size information.

Definition at line 25 of file outqueue.h.

Referenced by worker_encode().


The documentation for this struct was generated from the following file: