GATE
gate_platform_stream_buffer Struct Reference

Public Attributes

gate_platform_stream_t stream
 
gate_int64_t total_size
 
gate_int64_t position
 
gate_size_t block_size
 
gate_size_t block_buffer_used
 
char block_buffer [16]
 

Member Data Documentation

◆ block_buffer

char gate_platform_stream_buffer::block_buffer[16]

if size < block_size, the caller needs to over-allocate memory for this struct

◆ block_buffer_used

gate_size_t gate_platform_stream_buffer::block_buffer_used

current amount of bytes in block_buffer

◆ block_size

gate_size_t gate_platform_stream_buffer::block_size

block size to read from/write to stream

◆ position

gate_int64_t gate_platform_stream_buffer::position

current position in stream or (-1) if unknown

◆ stream

gate_platform_stream_t gate_platform_stream_buffer::stream

native stream handle

◆ total_size

gate_int64_t gate_platform_stream_buffer::total_size

total size of stream or (-1) if unknown


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