ResultSetHeaderPacket.fromBuffer constructor
ResultSetHeaderPacket.fromBuffer(
- ReadBuffer buffer
Implementation
factory ResultSetHeaderPacket.fromBuffer(ReadBuffer buffer) {
int? fieldCount = buffer.readLengthCodedBinary();
int? extra;
if (buffer.canReadMore) extra = buffer.readLengthCodedBinary();
return ResultSetHeaderPacket(fieldCount, extra);
}