fromBytes static method

VideoDescriptionMessage fromBytes(
  1. DefinitionMessage definitionMessage,
  2. Uint8List bytes
)
override

Returns an instance of VideoDescriptionMessage from a bytes list.

Implementation

static VideoDescriptionMessage fromBytes(
    DefinitionMessage definitionMessage, Uint8List bytes) {
  final message =
      VideoDescriptionMessage(definitionMessage: definitionMessage);
  message.readFromBytes(bytes);
  return message;
}