# - if encoded as a list instead, serialize as bytes instead of string
if type(data) in [list, tuple]:
  buff.write(_get_struct_8B().pack(*data))
else:
  buff.write(_get_struct_8s().pack(data))
