ByteSequences.h 377 B

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