ggstd/bytes/
mod.rs

1// Copyright 2023 The rust-ggstd authors.
2// Copyright 2009 The Go Authors. All rights reserved.
3// Use of this source code is governed by a BSD-style
4// license that can be found in the LICENSE file.
5
6//! Package bytes implements functions for the manipulation of byte slices.
7//! It is analogous to the facilities of the strings package.
8
9mod buffer;
10mod bytes;
11mod reader;
12
13pub use buffer::{new_buffer, new_buffer_string, Buffer};
14pub use bytes::{equal, has_suffix, index_byte, repeat};
15pub use reader::Reader;
16
17#[cfg(test)]
18mod buffer_test;
19#[cfg(test)]
20mod bytes_test;
21#[cfg(test)]
22mod reader_test;