gdata.tlslite.utils.codec | index /home/afshar/wrk/gdata-python-client/src/gdata/tlslite/utils/codec.py

`Classes for reading/writing binary data (such as TLS records).`

Modules

``

array math | os sys | traceback |

Classes

``

Parser
Writer

class Parser

``

Methods defined here:

__init__(self, bytes)

atLengthCheck(self)

get(self, length)

getFixBytes(self, lengthBytes)

getFixList(self, length, lengthList)

getVarBytes(self, lengthLength)

getVarList(self, length, lengthLength)

setLengthCheck(self, length)

startLengthCheck(self, lengthLength)

stopLengthCheck(self)

class Writer

``

Methods defined here:

__init__(self, length=0)

add(self, x, length)

addFixSeq(self, seq, length)

addVarSeq(self, seq, length, lengthLength)