nlib
nn::nlib::FileInputStreamSettings Struct Reference

The structure that stores information about the file stream settings. More...

#include "nn/nlib/FileInputStream.h"

Public Member Functions

constexpr FileInputStreamSettings () noexcept
 Instantiates the object with default parameters (default constructor). The members are set to the default values.
 
constexpr FileInputStreamSettings (void *buf_, size_t buffer_size_) noexcept
 Sets the data members.
 

Public Attributes

void * buf
 A pointer to a buffer. More...
 
size_t buffer_size
 The size of the buffer. More...
 

Detailed Description

The structure that stores information about the file stream settings.

Definition at line 10 of file FileInputStream.h.

Member Data Documentation

nn::nlib::FileInputStreamSettings::buf

A pointer to a buffer.

Description
The pointer to the buffer used by the file stream. If NULL, memory for the buffer is allocated internally. The default is NULL.

Definition at line 11 of file FileInputStream.h.

nn::nlib::FileInputStreamSettings::buffer_size

The size of the buffer.

Description
Specifies the size of the buffer used by the file stream. The default is 4096.

Definition at line 12 of file FileInputStream.h.


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