blob: 50c67269bbc0f407e927dcd187ebafa117845cdf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/*
* Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/ByteBuffer.h>
namespace Web::Infra {
void byte_lowercase(ByteBuffer&);
void byte_uppercase(ByteBuffer&);
bool is_prefix_of(ReadonlyBytes potential_prefix, ReadonlyBytes input);
bool is_byte_less_than(ReadonlyBytes a, ReadonlyBytes b);
}
|