nlib
|
The structure that stores the various ZlibInputStream
settings. At construction time, the default settings are stored.
More...
#include "nn/nlib/ZlibInputStream.h"
Public Types | |
typedef void *(* | ReallocFunc) (void *p, size_t n) NLIB_NOEXCEPT_FUNCPTR |
The type for functions compatible with realloc . | |
Public Member Functions | |
constexpr | ZlibInputStreamSettings () noexcept |
Instantiates the object with default parameters (default constructor). Sets the default values. | |
constexpr | ZlibInputStreamSettings (void *buf_in_, void *buf_out_, size_t buffer_size_) noexcept |
Sets the individual data members. | |
constexpr | ZlibInputStreamSettings (void *buf_in_, void *buf_out_, size_t buffer_size_, ReallocFunc realloc_func_) noexcept |
Sets the individual data members. | |
Public Attributes | |
void * | buf_in |
The buffer set for z_stream::next_in . More... | |
void * | buf_out |
The buffer set for z_stream::next_out . More... | |
size_t | buffer_size |
The size of ZlibInputStreamSettings::buf_in and ZlibInputStreamSettings::buf_out . More... | |
ReallocFunc | realloc_func |
The realloc function or its equivalent that ZlibInputStream uses internally. More... | |
The structure that stores the various ZlibInputStream
settings. At construction time, the default settings are stored.
Definition at line 27 of file ZlibInputStream.h.
nn::nlib::ZlibInputStreamSettings::buf_in |
The buffer set for z_stream::next_in
.
NULL
is specified, ZlibInputStream
acts internally to allocate a buffer. If you specify NULL
, you also must specify NULL
for buf_out. NULL
. Definition at line 29 of file ZlibInputStream.h.
nn::nlib::ZlibInputStreamSettings::buf_out |
The buffer set for z_stream::next_out
.
NULL
is specified, ZlibInputStream
acts internally to allocate a buffer. If you specify NULL
, you also must specify NULL
for buf_in. NULL
. Definition at line 30 of file ZlibInputStream.h.
nn::nlib::ZlibInputStreamSettings::buffer_size |
The size of ZlibInputStreamSettings::buf_in
and ZlibInputStreamSettings::buf_out
.
1024
or greater. The default is 65536
. Definition at line 31 of file ZlibInputStream.h.
nn::nlib::ZlibInputStreamSettings::realloc_func |
The realloc
function or its equivalent that ZlibInputStream
uses internally.
realloc
function. Definition at line 32 of file ZlibInputStream.h.
© 2012-2017 Nintendo Co., Ltd. All rights reserved.