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)); }
public static PacketReader GetItem(this PacketReader reader, string key, bool nothrow = false) { ThrowIfArgumentError(key); ThrowIfArgumentError(reader); return(reader.GetItem(key, nothrow)); }