Scid  4.6.5
Public Member Functions | List of all members
ByteBuffer Class Reference

#include <bytebuf.h>

Public Member Functions

 ByteBuffer (uint length)
 
 ~ByteBuffer ()
 
void ProvideExternal (byte *data, uint length)
 
errorT Status ()
 
uint GetByteCount ()
 
void BackToStart ()
 
void Skip (uint value)
 
byte GetByte ()
 
void GetFixedString (char *str, uint length)
 
uint GetTerminatedString (char **str)
 
const bytegetData ()
 
void Empty ()
 
void PutByte (byte value)
 
void PutFixedString (const char *str, uint length)
 
void PutTerminatedString (const char *str)
 

Detailed Description

Definition at line 25 of file bytebuf.h.

Constructor & Destructor Documentation

ByteBuffer::ByteBuffer ( uint  length)
inline

Definition at line 46 of file bytebuf.h.

ByteBuffer::~ByteBuffer ( )
inline

Definition at line 47 of file bytebuf.h.

Member Function Documentation

void ByteBuffer::BackToStart ( )

Definition at line 37 of file bytebuf.cpp.

void ByteBuffer::Empty ( )

Definition at line 23 of file bytebuf.cpp.

byte ByteBuffer::GetByte ( )
inline

Definition at line 62 of file bytebuf.h.

uint ByteBuffer::GetByteCount ( )
inline

Definition at line 59 of file bytebuf.h.

const byte* ByteBuffer::getData ( )
inline

Definition at line 71 of file bytebuf.h.

void ByteBuffer::GetFixedString ( char *  str,
uint  length 
)

Definition at line 80 of file bytebuf.cpp.

uint ByteBuffer::GetTerminatedString ( char **  str)

Definition at line 117 of file bytebuf.cpp.

void ByteBuffer::ProvideExternal ( byte data,
uint  length 
)

Definition at line 52 of file bytebuf.cpp.

void ByteBuffer::PutByte ( byte  value)
inline

Definition at line 80 of file bytebuf.h.

void ByteBuffer::PutFixedString ( const char *  str,
uint  length 
)

Definition at line 98 of file bytebuf.cpp.

void ByteBuffer::PutTerminatedString ( const char *  str)

Definition at line 140 of file bytebuf.cpp.

void ByteBuffer::Skip ( uint  value)

Definition at line 66 of file bytebuf.cpp.

errorT ByteBuffer::Status ( )
inline

Definition at line 58 of file bytebuf.h.


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