The serializer code is meant to be used as a means of reading/writing data from any arbitrary type of input/output. The array output serializer makes it so we can stream data to a dynamic array on the fly.