This commit is contained in:
saijanai.kuhn
2008-10-28 04:33:55 +00:00
committed by Salad Dais
parent 89beef6783
commit 39ca984d97

View File

@@ -25,6 +25,7 @@ from types import MsgType, EndianType
class DataPacker(object):
def __init__(self):
self.packer = {}
self.packer[MsgType.MVT_FIXED] = ('>',self.__pack_string) #:DE 23oct2008 added handler for MVT_FIXED
self.packer[MsgType.MVT_VARIABLE] = ('>', self.__pack_string)
self.packer[MsgType.MVT_S8] = ('>', 'b')
self.packer[MsgType.MVT_U8] = ('>','B')