gdata
.
tlslite
.
utils
.codec
index
/usr/local/google/home/afshar/src/external-gdata-release/google3/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)