IMySqlValue IMySqlValue.ReadValue(MySqlPacket packet, long length, bool nullVal) { if (nullVal) return new MySqlInt64(true); if (length == -1) return new MySqlInt64((long)packet.ReadULong(8)); else return new MySqlInt64(Int64.Parse(packet.ReadString(length))); }