MySQLPacketColumnCount.decode constructor
MySQLPacketColumnCount.decode(
- Uint8List buffer
Implementation
factory MySQLPacketColumnCount.decode(Uint8List buffer) {
final byteData = ByteData.sublistView(buffer);
final columnCount = byteData.getVariableEncInt(0);
return MySQLPacketColumnCount(
columnCount: columnCount.item1,
);
}