pub struct RawBytes { /* private fields */ }
Expand description
A vector of bytes
Implementations§
Trait Implementations§
Source§impl ByteReadable<RawBytesPointer> for RawBytes
impl ByteReadable<RawBytesPointer> for RawBytes
fn read(&self, ptr: &mut RawBytesPointer) -> Option<u8>
fn has_next(&self, ptr: &RawBytesPointer) -> bool
fn read_n(&self, ptr: &mut Ptr, n: usize) -> Option<Vec<u8>>
fn read_u16(&self, ptr: &mut Ptr) -> Option<u16>
fn read_u32(&self, ptr: &mut Ptr) -> Option<u32>
fn read_i32(&self, ptr: &mut Ptr) -> Option<i32>
Auto Trait Implementations§
impl Freeze for RawBytes
impl RefUnwindSafe for RawBytes
impl Send for RawBytes
impl Sync for RawBytes
impl Unpin for RawBytes
impl UnwindSafe for RawBytes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more