CopyBothResponseMessage constructor

CopyBothResponseMessage(
  1. Uint8List bytes
)

Implementation

CopyBothResponseMessage(Uint8List bytes) {
  final reader = ByteDataReader()..add(bytes);
  copyFormat = reader.readInt8();

  final numberOfColumns = reader.readInt16();

  for (var i = 0; i < numberOfColumns; i++) {
    columnsFormatCode.add(reader.readInt16());
  }
}