Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
fc::datastream< size_t, void > Class Reference

#include <datastream.hpp>

Public Member Functions

 datastream (size_t init_size=0)
 
bool skip (size_t s)
 
bool write (const char *, size_t s)
 
bool put (char)
 
bool valid () const
 
bool seekp (size_t p)
 
size_t tellp () const
 
size_t remaining () const
 

Detailed Description

Definition at line 85 of file datastream.hpp.

Constructor & Destructor Documentation

◆ datastream()

fc::datastream< size_t, void >::datastream ( size_t init_size = 0)
inline

Definition at line 87 of file datastream.hpp.

87:_size(init_size){};

Member Function Documentation

◆ put()

bool fc::datastream< size_t, void >::put ( char )
inline

Definition at line 90 of file datastream.hpp.

90{ ++_size; return true; }

◆ remaining()

size_t fc::datastream< size_t, void >::remaining ( ) const
inline

Definition at line 94 of file datastream.hpp.

94{ return 0; }

◆ seekp()

bool fc::datastream< size_t, void >::seekp ( size_t p)
inline

Definition at line 92 of file datastream.hpp.

92{ _size = p; return true; }
const mie::Vuint & p
Definition bn.cpp:27

◆ skip()

bool fc::datastream< size_t, void >::skip ( size_t s)
inline

Definition at line 88 of file datastream.hpp.

88{ _size += s; return true; }
char * s

◆ tellp()

size_t fc::datastream< size_t, void >::tellp ( ) const
inline

Definition at line 93 of file datastream.hpp.

93{ return _size; }

◆ valid()

bool fc::datastream< size_t, void >::valid ( ) const
inline

Definition at line 91 of file datastream.hpp.

91{ return true; }

◆ write()

bool fc::datastream< size_t, void >::write ( const char * ,
size_t s )
inline

Definition at line 89 of file datastream.hpp.

89{ _size += s; return true; }

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