Make public functions that are meant to be used internally private.

This commit is contained in:
CosminPerRam 2022-12-29 16:59:51 +02:00
parent 8c98433da9
commit 0e68f8c830
4 changed files with 11 additions and 13 deletions

View file

@ -11,10 +11,6 @@ pub struct Bufferer {
}
impl Bufferer {
pub fn new(endianess: Endianess) -> Self {
Bufferer::new_with_data(endianess, &[])
}
pub fn new_with_data(endianess: Endianess, data: &[u8]) -> Self {
Bufferer {
data: data.to_vec(),