6 #ifndef CRYPTOPP_BASECODE_H 7 #define CRYPTOPP_BASECODE_H 23 : m_alphabet(NULLPTR), m_padding(0), m_bitsPerChar(0)
24 , m_outputBlockSize(0), m_bytePos(0), m_bitPos(0)
35 : m_alphabet(NULLPTR), m_padding(0), m_bitsPerChar(0)
36 , m_outputBlockSize(0), m_bytePos(0), m_bitPos(0)
46 size_t Put2(
const byte *begin,
size_t length,
int messageEnd,
bool blocking);
49 const byte *m_alphabet;
50 int m_padding, m_bitsPerChar, m_outputBlockSize;
51 int m_bytePos, m_bitPos;
64 : m_lookup(NULLPTR), m_bitsPerChar(0)
65 , m_outputBlockSize(0), m_bytePos(0), m_bitPos(0)
77 : m_lookup(NULLPTR), m_bitsPerChar(0)
78 , m_outputBlockSize(0), m_bytePos(0), m_bitPos(0)
85 size_t Put2(
const byte *begin,
size_t length,
int messageEnd,
bool blocking);
97 static void CRYPTOPP_API InitializeDecodingLookupArray(
int *lookup,
const byte *alphabet,
unsigned int base,
bool caseInsensitive);
101 int m_bitsPerChar, m_outputBlockSize;
102 int m_bytePos, m_bitPos;
113 : m_groupSize(0), m_counter(0) {Detach(attachment);}
121 : m_groupSize(0), m_counter(0)
130 size_t Put2(
const byte *begin,
size_t length,
int messageEnd,
bool blocking);
134 size_t m_groupSize, m_counter;
Used to pass byte array input as part of a NameValuePairs object.
Standard names for retrieving values by name when working with NameValuePairs.
Classes for working with NameValuePairs.
Grouper(BufferedTransformation *attachment=NULL)
Construct a Grouper.
Grouper(int groupSize, const std::string &separator, const std::string &terminator, BufferedTransformation *attachment=NULL)
Construct a Grouper.
Abstract base classes that provide a uniform interface to this library.
BaseN_Encoder(BufferedTransformation *attachment=NULL)
Construct a BaseN_Encoder.
const char * PaddingByte()
byte
const char * Separator()
ConstByteArrayParameter.
BaseN_Decoder(BufferedTransformation *attachment=NULL)
Construct a BaseN_Decoder.
AlgorithmParameters MakeParameters(const char *name, const T &value, bool throwIfNotUsed=true)
Create an object that implements NameValuePairs.
const char * EncodingLookupArray()
const byte *
BaseN_Decoder(const int *lookup, int log2base, BufferedTransformation *attachment=NULL)
Construct a BaseN_Decoder.
const char * Log2Base()
int
const char * GroupSize()
int
const char * Terminator()
ConstByteArrayParameter.
Implementation of BufferedTransformation's attachment interface.
BaseN_Encoder(const byte *alphabet, int log2base, BufferedTransformation *attachment=NULL, int padding=-1)
Construct a BaseN_Encoder.
Base class for unflushable filters.
const char * DecodingLookupArray()
const byte *
Implementation of BufferedTransformation's attachment interface.
Filter that breaks input stream into groups of fixed size.
Crypto++ library namespace.
Encoder for bases that are a power of 2.
Decoder for bases that are a power of 2.
Base class for bufferless filters.
Interface for retrieving values given their names.