Dokumentacja klasy common::HexEncoder
[Moduł Stream]

Koduje strumień binarnych danych wejściowych na zapis szesnastkowy (po 2 znaki na każdy bajt). Więcej...

#include <Stream.hpp>

Diagram dziedziczenia dla common::HexEncoder

common::OverlayStream common::Stream

Lista wszystkich składowych.

Metody publiczne

 HexEncoder (Stream *a_Stream, bool UpperCase=true)
virtual void Write (const void *Data, size_t Size)
 Zapisuje dane.
virtual void Flush ()

Statyczne metody publiczne

static void Encode (char *Out, const void *Data, size_t DataLength, bool UpperCase=true)
 Po prostu koduje podane dane.
static void Encode (string *Out, const void *Data, size_t DataLength, bool UpperCase=true)
 Po prostu koduje podane dane.
static void Encode (wchar_t *Out, const void *Data, size_t DataLength, bool UpperCase=true)
static void Encode (wstring *Out, const void *Data, size_t DataLength, bool UpperCase=true)


Opis szczegółowy

Koduje strumień binarnych danych wejściowych na zapis szesnastkowy (po 2 znaki na każdy bajt).

Dokumentacja konstruktora i destruktora

common::HexEncoder::HexEncoder ( Stream *  a_Stream,
bool  UpperCase = true 
) [inline]


Dokumentacja funkcji składowych

virtual void common::HexEncoder::Write ( const void *  Data,
size_t  Size 
) [virtual]

Zapisuje dane.

(W oryginale: zgłasza błąd)

Reimplementowana z common::Stream.

virtual void common::HexEncoder::Flush (  )  [inline, virtual]

Reimplementowana z common::OverlayStream.

static void common::HexEncoder::Encode ( char *  Out,
const void *  Data,
size_t  DataLength,
bool  UpperCase = true 
) [static]

Po prostu koduje podane dane.

Parametry:
[out] Out Bufor wyjściowy Out musi mieć zaalokowane przynajmniej DataLength * 2 znaków.

static void common::HexEncoder::Encode ( string *  Out,
const void *  Data,
size_t  DataLength,
bool  UpperCase = true 
) [static]

Po prostu koduje podane dane.

Parametry:
[out] Out Łańcuch wyjściowy Out nie musi mieć żadnego konkretnego rozmiaru - zostaje wyczyszczony i wypełniony od nowa.

static void common::HexEncoder::Encode ( wchar_t *  Out,
const void *  Data,
size_t  DataLength,
bool  UpperCase = true 
) [static]

static void common::HexEncoder::Encode ( wstring *  Out,
const void *  Data,
size_t  DataLength,
bool  UpperCase = true 
) [static]


Dokumentacja dla tej klasy została wygenerowana z pliku:

Wygenerowano Sat Mar 29 18:17:03 2008 dla CommonLib programem  doxygen 1.5.5