deserialize method
Implementation
@override
MultiArrayLayout deserialize(ByteDataReader reader) {
//deserializes a message object of type MultiArrayLayout
final data = MultiArrayLayout();
// Deserialize message field [dim]
{
// Deserialize array length for message field [dim]
final len = reader.readInt32();
data.dim = List.generate(len, (_) => MultiArrayDimension.$prototype.deserialize(reader));
}
// Deserialize message field [data_offset]
data.data_offset = reader.readUint32();
return data;
}