Grok  9.5.0
Public Member Functions | Private Attributes | List of all members
j2c_dst_memory Class Reference

#include <codestream.hpp>

Inheritance diagram for j2c_dst_memory:
j2c_destination_base

Public Member Functions

 j2c_dst_memory ()
 
 ~j2c_dst_memory () override=default
 
int32_t put_byte (uint8_t byte) override
 
int32_t put_word (uint16_t word) override
 
int32_t put_dword (uint32_t dword) override
 
int32_t put_N_bytes (uint8_t *src, uint32_t length) override
 
int32_t flush (std::ofstream &dst) override
 
size_t get_length () const
 
void print_bytes ()
 
- Public Member Functions inherited from j2c_destination_base
virtual ~j2c_destination_base ()=default
 

Private Attributes

std::vector< uint8_t > buf
 
uint32_t pos
 

Constructor & Destructor Documentation

◆ j2c_dst_memory()

j2c_dst_memory::j2c_dst_memory ( )
inline

References pos.

◆ ~j2c_dst_memory()

j2c_dst_memory::~j2c_dst_memory ( )
overridedefault

Member Function Documentation

◆ flush()

int32_t j2c_dst_memory::flush ( std::ofstream &  dst)
overridevirtual

Implements j2c_destination_base.

◆ get_length()

size_t j2c_dst_memory::get_length ( ) const

◆ print_bytes()

void j2c_dst_memory::print_bytes ( )

◆ put_byte()

int32_t j2c_dst_memory::put_byte ( uint8_t  byte)
overridevirtual

Implements j2c_destination_base.

◆ put_dword()

int32_t j2c_dst_memory::put_dword ( uint32_t  dword)
overridevirtual

Implements j2c_destination_base.

◆ put_N_bytes()

int32_t j2c_dst_memory::put_N_bytes ( uint8_t *  src,
uint32_t  length 
)
overridevirtual

Implements j2c_destination_base.

◆ put_word()

int32_t j2c_dst_memory::put_word ( uint16_t  word)
overridevirtual

Implements j2c_destination_base.

Member Data Documentation

◆ buf

std::vector<uint8_t> j2c_dst_memory::buf
private

◆ pos

uint32_t j2c_dst_memory::pos
private

Referenced by j2c_dst_memory().


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