77 template<
typename Iter>
void Append(const T &value)
Appends a single value to buffer.
bool VisitWString(const PyWString *rep)
add a wide string object to the data stream
bool VisitInteger(const PyInt *rep)
bool VisitDict(const PyDict *rep)
bool Save(const PyRep *rep, Buffer &into)
void SaveVarInteger(const PyLong *v)
bool VisitPackedRow(const PyPackedRow *pyPackedRow)
Adds a packed row to the stream.
bool VisitObject(const PyObject *rep)
Adds an object to the stream.
Python floating point number.
bool VisitBuffer(const PyBuffer *rep)
Adds a buffer to the stream.
Turns Python objects into marshal bytecode.
Generic class for buffers.
void AppendSeq(Iter first, Iter last)
Appends a sequence of elements to buffer.
bool VisitLong(const PyLong *rep)
Adds a long to the stream.
bool VisitSubStream(const PySubStream *rep)
Adds a sub stream to the stream.
bool MarshalDeflate(const PyRep *rep, Buffer &into, const uint32 deflationLimit=0x2000)
bool VisitChecksumedStream(const PyChecksumedStream *rep)
Adds a checksumed stream to the stream.
bool VisitBoolean(const PyBool *rep)
Adds a boolean to the stream.
bool VisitString(const PyString *rep)
add a string object to the data stream
Python token (eg. class name).
bool SaveStream(const PyRep *rep)
bool SaveRLE(const Buffer &in)
bool VisitNone(const PyNone *rep)
Adds a None object to the stream.
bool VisitObjectEx(const PyObjectEx *rep)
Adds a New object to the stream.
bool VisitToken(const PyToken *rep)
add a token object to the data stream
bool VisitSubStruct(const PySubStruct *rep)
Adds a sub structure to the stream.
bool VisitTuple(const PyTuple *rep)
bool VisitList(const PyList *rep)
void Put(Iter first, Iter last)
bool Marshal(const PyRep *rep, Buffer &into)
void PutSizeEx(uint32 size)
bool VisitReal(const PyFloat *rep)
Adds a double to the stream.