Esempio n. 1
0
 public static PacketReader GetItem(this PacketReader reader, IEnumerable <string> keys, bool nothrow = false)
 {
     ThrowIfArgumentError(reader);
     if (keys == null)
     {
         throw new ArgumentNullException(nameof(keys));
     }
     return(reader.GetItem(keys, nothrow));
 }
Esempio n. 2
0
 public static PacketReader GetItem(this PacketReader reader, string key, bool nothrow = false)
 {
     ThrowIfArgumentError(key);
     ThrowIfArgumentError(reader);
     return(reader.GetItem(key, nothrow));
 }