def decode_string(data):
""" Decode string and strip NULL-bytes from end."""
return data.decode('utf-8').rstrip('\0')
# IRIS Data Types and corresponding python struct format characters
# 4.2 Scalar Definitions, Page 23
# https://docs.python.org/3/library/struct.html#format-characters
评论列表
文章目录