def unpack_ectag_tagcount(data, utf8_num=True ): if utf8_num: return unpack_utf8_num(data) else: length = 2 value, _ = unpack_uint16( data ) return value, data[length:]
def unpack_ectag_tagcount(data, utf8_num=True): if utf8_num: return unpack_utf8_num(data) else: length = 2 value, _ = unpack_uint16(data) return value, data[length:]
def unpack_ectag_taglen(data, utf8_num=True ): value = -1 length = -1 if utf8_num: return unpack_utf8_num(data) else: length = 4 value, _ = unpack_uint32(data) return value, data[length:]
def unpack_ectag_taglen(data, utf8_num=True): value = -1 length = -1 if utf8_num: return unpack_utf8_num(data) else: length = 4 value, _ = unpack_uint32(data) return value, data[length:]
def unpack_ectag_tagname(data, utf8_num=True): value = -1 length = -1 if utf8_num: return unpack_utf8_num(data) else: length = 2 #value, = unpack( '!H', data[:length] ) value, _ = unpack_uint16( data ) return value, data[length:]
def unpack_ectag_tagname(data, utf8_num=True): value = -1 length = -1 if utf8_num: return unpack_utf8_num(data) else: length = 2 #value, = unpack( '!H', data[:length] ) value, _ = unpack_uint16(data) return value, data[length:]