Function operator<<

Synopsis

#include <Source/Falcor/Utils/BinaryFileStream.h>

template <typename T>
BinaryFileStream & operator<<(const T &val)

Description

Writes a value into the file stream

Parameters:

[ in ] val - Value to write

Source

Lines 162-163 in Source/Falcor/Utils/BinaryFileStream.h.

template<typename T>
BinaryFileStream& operator<<(const T& val) { return write(&val, sizeof(T)); }





Add Discussion as Guest

Log in to DocsForge