Serialize data and metadata associated with host memory.
The metadata required to reconstruct the object.
The Buffers or memoryviews that the object should contain.