mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-18 09:35:50 +00:00
Make public functions that are meant to be used internally private.
This commit is contained in:
parent
8c98433da9
commit
0e68f8c830
4 changed files with 11 additions and 13 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue