ReadULong() public method

public ReadULong ( int numbytes ) : ulong
numbytes int
return ulong
Esempio n. 1
0
    IMySqlValue IMySqlValue.ReadValue(MySqlPacket packet, long length, bool nullVal)
    {
      if (nullVal)
        return new MySqlUInt64(true);

      if (length == -1)
        return new MySqlUInt64(packet.ReadULong(8));
      else
        return new MySqlUInt64(UInt64.Parse(packet.ReadString(length)));
    }