deserialize method

  1. @override
Float32MultiArray deserialize(
  1. ByteDataReader reader
)

Implementation

@override
Float32MultiArray deserialize(ByteDataReader reader) {
  //deserializes a message object of type Float32MultiArray
  final data = Float32MultiArray();
  // Deserialize message field [layout]
  data.layout = MultiArrayLayout.$prototype.deserialize(reader);
  // Deserialize message field [data]
  data.data = reader.readArray<double>(() => reader.readFloat32(), arrayLen: null);
  return data;
}