Go to the documentation of this file.
19 PPER_Stream(
int aligned =
true);
20 PPER_Stream(
const BYTE * buf, PINDEX size,
PBoolean aligned =
true);
25 unsigned GetBitsLeft()
const;
61 PBoolean IsAligned()
const {
return aligned; }
64 void SingleBitEncode(
PBoolean value);
66 PBoolean MultiBitDecode(
unsigned nBits,
unsigned & value);
67 void MultiBitEncode(
unsigned value,
unsigned nBits);
69 PBoolean SmallUnsignedDecode(
unsigned & value);
70 void SmallUnsignedEncode(
unsigned value);
72 PBoolean LengthDecode(
unsigned lower,
unsigned upper,
unsigned & len);
73 void LengthEncode(
unsigned len,
unsigned lower,
unsigned upper);
75 PBoolean UnsignedDecode(
unsigned lower,
unsigned upper,
unsigned & value);
76 void UnsignedEncode(
int value,
unsigned lower,
unsigned upper);