ResultSetHeaderPacket constructor

ResultSetHeaderPacket(
  1. Buffer buffer
)

Implementation

ResultSetHeaderPacket(Buffer buffer)
    : log = Logger('ResultSetHeaderPacket'),
      _fieldCount = buffer.readLengthCodedBinary() {
  if (buffer.canReadMore()) {
    _extra = buffer.readLengthCodedBinary();
  }
}