nlib
BinaryReader.h File Reference

Defines the class for reading binary files from streams. More...

#include "nn/nlib/Config.h"
#include "nn/nlib/Swap.h"

Go to the source code of this file.

Classes

class  nn::nlib::BinaryReader
 The class for reading binary from streams (from InputStream). More...
 

Namespaces

 nn::nlib
 Implements common features and features that are highly platform-dependent. Also refer to nlib Platform APIs. nlib_ns is an alias.
 
 nn::nlib::binary_reader
 Defines functions that are used to read to user-defined classes with the BinaryReader class.
 

Functions

template<class T >
bool nn::nlib::binary_reader::Read (BinaryReader *r, T *x)
 You can read to user-defined class objects by specializing this function template. More...
 
template<class T >
bool nn::nlib::binary_reader::ReadArray (BinaryReader *r, T *x, size_t n)
 You can read to user-defined class objects by specializing this function template. More...
 

Detailed Description

Defines the class for reading binary files from streams.

Definition in file BinaryReader.h.