serialize method

void serialize(
  1. TypeEncoder encoder
)
override

Implementation

void serialize(TypeEncoder encoder) {
  encoder
    ..writeUInt16(msgClassId)
    ..writeUInt16(msgMethodId)
    ..writeUInt16(reserved_1!)
    ..writeShortString(exchange)
    ..writeShortString(type)
    ..writeBits([passive, durable, reserved_2, reserved_3, noWait])
    ..writeFieldTable(arguments);
}