webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
gl::BinaryInputStream Class Reference

#include <BinaryStream.h>

Inheritance diagram for gl::BinaryInputStream:
angle::NonCopyable

Public Member Functions

 BinaryInputStream (const void *data, size_t length)
 
template<class IntT >
IntT readInt ()
 
template<class IntT >
void readInt (IntT *outValue)
 
bool readBool ()
 
void readBool (bool *outValue)
 
void readBytes (unsigned char outArray[], size_t count)
 
std::string readString ()
 
void readString (std::string *v)
 
void skip (size_t length)
 
size_t offset () const
 
bool error () const
 
bool endOfStream () const
 
const uint8_tdata ()
 

Constructor & Destructor Documentation

◆ BinaryInputStream()

gl::BinaryInputStream::BinaryInputStream ( const void data,
size_t  length 
)
inline

Member Function Documentation

◆ data()

const uint8_t* gl::BinaryInputStream::data ( )
inline

◆ endOfStream()

bool gl::BinaryInputStream::endOfStream ( ) const
inline

◆ error()

bool gl::BinaryInputStream::error ( ) const
inline

◆ offset()

size_t gl::BinaryInputStream::offset ( ) const
inline

◆ readBool() [1/2]

bool gl::BinaryInputStream::readBool ( )
inline

◆ readBool() [2/2]

void gl::BinaryInputStream::readBool ( bool *  outValue)
inline

◆ readBytes()

void gl::BinaryInputStream::readBytes ( unsigned char  outArray[],
size_t  count 
)
inline

◆ readInt() [1/2]

template<class IntT >
IntT gl::BinaryInputStream::readInt ( )
inline

◆ readInt() [2/2]

template<class IntT >
void gl::BinaryInputStream::readInt ( IntT *  outValue)
inline

◆ readString() [1/2]

std::string gl::BinaryInputStream::readString ( )
inline

◆ readString() [2/2]

void gl::BinaryInputStream::readString ( std::string v)
inline

◆ skip()

void gl::BinaryInputStream::skip ( size_t  length)
inline

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