deserialize method

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

Implementation

@override
UInt8 deserialize(ByteDataReader reader) {
  //deserializes a message object of type UInt8
  final data = UInt8();
  // Deserialize message field [data]
  data.data = reader.readUint8();
  return data;
}