r.sequence = packet.getSequence();
r.packetMarker = d.readInt(1);
r.errorCode = d.readInt(2);
r.slash = d.readFixedLengthString(1);
r.sqlState = d.readFixedLengthString(5);
r.errorMessage = d.readFixedLengthString(d.available());
return r;
}
public static ErrorPacket valueOf(int packetLength, int packetSequence, int packetMarker, XInputStream is)
throws IOException {