nlib
nn::nlib::FileOutputStreamSettings Struct Reference

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

#include "nn/nlib/FileOutputStream.h"

Public Member Functions

constexpr FileOutputStreamSettings () noexcept
 Instantiates the object with default parameters (default constructor). Sets the default values.
 
constexpr FileOutputStreamSettings (void *buf_, size_t buffer_size_) noexcept
 Sets the individual 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 FileOutputStream.h.

Member Data Documentation

nn::nlib::FileOutputStreamSettings::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 FileOutputStream.h.

nn::nlib::FileOutputStreamSettings::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 FileOutputStream.h.


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