CopyBothResponseMessage.parse constructor

  1. @internal
CopyBothResponseMessage.parse(
  1. PgByteDataReader reader
)

Implementation

@internal
CopyBothResponseMessage.parse(PgByteDataReader reader) {
  copyFormat = reader.readInt8();
  final numberOfColumns = reader.readInt16();
  for (var i = 0; i < numberOfColumns; i++) {
    columnsFormatCode.add(reader.readInt16());
  }
}