you first read the kind, then read the data array
# serialization
n
you first read the kind, then read the data array