def getdata(self): return '\x17'+StringUtils.writeString8B(self.value),None
def getdata(self): return '\x17' + StringUtils.writeString8B(self.value), None
def read(cls, data, ofs, ofs2): val, ln = StringUtils.readString8B(data,ofs+1) return cls(val), ln+1,0
def read(cls, data, ofs, ofs2): val, ln = StringUtils.readString8B(data, ofs + 1) return cls(val), ln + 1, 0