pub fn snap_bytes_location_result
    (&self, result:Result<Bytes,LocationError<Bytes>>) -> Bytes {
        match result {
            Ok(bytes) => bytes,
            Err(err)  => self.snap_bytes_location_error(err),
        }
    }
/// Snaps the `LocationResult<Bytes>` to the closest valid byte offset.
Snaps the `LocationResult` to the closest valid byte offset.
Snaps the ` LocationResult ` to the closest valid byte offset .
pub fn snap_bytes_location_result
    (&self, result:Result<Bytes,LocationError<Bytes>>) -> Bytes {
        match result {
            Ok(bytes) => bytes,
            Err(err)  => self.snap_bytes_location_error(err),
        }
    }
pub fn snap_bytes_location_result ( & self , result : Result < Bytes , LocationError < Bytes > > ) -> Bytes { match result { Ok ( bytes ) => bytes , Err ( err ) => self . snap_bytes_location_error ( err ) , } }
Snaps the `LocationResult<Bytes>` to the closest valid byte offset.
Snaps the ` LocationResult<Bytes > ` to the closest valid byte offset .
&self
result
Result<Bytes,LocationError<Bytes>>
&self
result
Result<Bytes,LocationError<Bytes>>