fromBytes static method

StompFrame fromBytes(
  1. Uint8List data
)

Creates a STOMP frame from raw bytes

Implementation

static StompFrame fromBytes(Uint8List data) {
  return StompFrameParser.parse(data);
}