1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//! Package bytes implements functions for the manipulation of byte slices.
//! It is analogous to the facilities of the strings package.

mod buffer;
mod bytes;
mod reader;

pub use buffer::{new_buffer, new_buffer_string, Buffer};
pub use bytes::{equal, has_suffix, index_byte, repeat};
pub use reader::Reader;

#[cfg(test)]
mod buffer_test;
#[cfg(test)]
mod bytes_test;
#[cfg(test)]
mod reader_test;