MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
Namespaces | Functions
bitfields.h File Reference
#include <string>

Go to the source code of this file.

Namespaces

 Bit
 
 Util
 Contains utility code, not directly related to streaming media.
 

Functions

unsigned long Bit::btoh24 (char *p)
 Retrieves a long in network order from the pointer p. More...
 
unsigned long Bit::btohl (const char *p)
 Retrieves a long in network order from the pointer p. More...
 
unsigned long long Bit::btohll (char *p)
 Retrieves a long long in network order from the pointer p. More...
 
unsigned short Bit::btohs (char *p)
 Retrieves a short in network order from the pointer p. More...
 
unsigned long long Bit::getByName (char *pointer)
 
unsigned long long Bit::getMSB (char *pointer, unsigned int offsetBits, unsigned int dataBits)
 Takes a pointer, offset bitcount and data bitcount, returning the unsigned int read from the givens. More...
 
void Bit::htob24 (char *p, unsigned long val)
 Stores a long value of val in network order to the pointer p. More...
 
void Bit::htobl (char *p, unsigned long val)
 Stores a long value of val in network order to the pointer p. More...
 
void Bit::htobll (char *p, unsigned long long val)
 Stores a long value of val in network order to the pointer p. More...
 
void Bit::htobs (char *p, unsigned short val)
 Stores a short value of val in network order to the pointer p. More...
 
void Bit::setByName (char *pointer)
 
void Bit::setMSB (char *pointer, unsigned int offsetBits, unsigned int dataBits, unsigned long long value)
 Takes a pointer, offset bitcount and data bitcount, setting to given value. More...
 
bool Util::stringToBool (std::string &str)
 Parses a string reference to a boolean. More...