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