Library of Assembled Shared Sources
lass::io::BinaryOFile Class Reference

BinaryOStream to file. More...

#include <binary_o_file.h>

Inheritance diagram for lass::io::BinaryOFile:
Collaboration diagram for lass::io::BinaryOFile:

Public Member Functions

 BinaryOFile ()
 Construct an "empty" closed file.
 
 BinaryOFile (const char *path)
 Construct stream by filename and open it.
 
 BinaryOFile (const std::string &path)
 Construct stream by filename and open it.
 
 ~BinaryOFile ()
 Close stream on destruction.
 
size_t write (const void *buffer, size_t byteLength)
 write a buffer of bytes to the stream
 

Detailed Description

BinaryOStream to file.

Definition at line 69 of file binary_o_file.h.

Constructor & Destructor Documentation

◆ BinaryOFile()

lass::io::BinaryOFile::BinaryOFile ( )

Construct an "empty" closed file.

Definition at line 62 of file binary_o_file.cpp.

Member Function Documentation

◆ write()

size_t lass::io::BinaryOStream::write ( const void * bytes,
size_t numBytes )
inherited

write a buffer of bytes to the stream

Parameters
bytespointer to buffer.
numByteslength of buffer in bytes.

Definition at line 239 of file binary_o_stream.cpp.

References write().

Referenced by write().


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