RowDescriptionMessage constructor

RowDescriptionMessage(
  1. Uint8List bytes,
  2. Encoding encoding,
  3. TimeZoneSettings timeZone
)

Implementation

RowDescriptionMessage(Uint8List bytes, Encoding encoding, TimeZoneSettings timeZone) {
  final reader = ByteDataReader()..add(bytes);
  final fieldCount = reader.readInt16();

  for (var i = 0; i < fieldCount; i++) {
    final rowDesc = FieldDescription.read(reader, encoding, timeZone);
    fieldDescriptions.add(rowDesc);
  }
}