pub fn split_at(self, reference_position: usize, data_position: usize) -> (Self, Self) {
        let (new_data_bytes, split_data_bytes) = self.data_bytes.split_at(data_position);
        let (split_reference_bytes, new_reference_bytes) = self
            .reference_bytes
            .split_at(reference_position * EntryID::SERIALIZED_SIZE);

        (
            Self {
                reference_bytes: new_reference_bytes,
                data_bytes: new_data_bytes,
            },
            Self {
                reference_bytes: split_reference_bytes,
                data_bytes: split_data_bytes,
            },
        )
    }
/// Splits the byte range into two byte ranges at the given position.
Splits the byte range into two byte ranges at the given position.
Splits the byte range into two byte ranges at the given position .
pub fn split_at(self, reference_position: usize, data_position: usize) -> (Self, Self) {
        let (new_data_bytes, split_data_bytes) = self.data_bytes.split_at(data_position);
        let (split_reference_bytes, new_reference_bytes) = self
            .reference_bytes
            .split_at(reference_position * EntryID::SERIALIZED_SIZE);
        (
            Self {
                reference_bytes: new_reference_bytes,
                data_bytes: new_data_bytes,
            },
            Self {
                reference_bytes: split_reference_bytes,
                data_bytes: split_data_bytes,
            },
        )
    }
pub fn split_at ( self , reference_position : usize , data_position : usize ) -> ( Self , Self ) { let ( new_data_bytes , split_data_bytes ) = self . data_bytes . split_at ( data_position ) ; let ( split_reference_bytes , new_reference_bytes ) = self . reference_bytes . split_at ( reference_position * EntryID :: SERIALIZED_SIZE ) ; ( Self { reference_bytes : new_reference_bytes , data_bytes : new_data_bytes , } , Self { reference_bytes : split_reference_bytes , data_bytes : split_data_bytes , } , ) }
Splits the byte range into two byte ranges at the given position.
Splits the byte range into two byte ranges at the given position .
self
reference_position
usize
data_position
usize
self
reference_position
usize
data_position
usize