INRIX Interview Question

How will you serialize and deserialize an array of byte arrays.