getPacketBytes method

Uint8List getPacketBytes()

Get the bytes to be placed into the packet.

Implementation

Uint8List getPacketBytes(){
  return packet.writeToBuffer();
}