pub struct Pickle { /* private fields */ }Expand description
An ASAR Pickle serializer/deserializer for reading and writing the binary header format used by Electron ASAR archives.
Implementations§
Source§impl Pickle
impl Pickle
pub fn new() -> Self
pub fn from_buffer(buffer: &[u8]) -> Self
pub fn iter(&self) -> PickleIterator<'_>
pub fn into_buffer(self) -> Vec<u8> ⓘ
pub fn write_bool(&mut self, value: bool)
pub fn write_i32(&mut self, value: i32)
pub fn write_u32(&mut self, value: u32)
pub fn write_i64(&mut self, value: i64)
pub fn write_u64(&mut self, value: u64)
pub fn write_float(&mut self, value: f32)
pub fn write_double(&mut self, value: f64)
pub fn write_bytes(&mut self, data: &[u8])
pub fn write_string(&mut self, value: &str)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pickle
impl RefUnwindSafe for Pickle
impl Send for Pickle
impl Sync for Pickle
impl Unpin for Pickle
impl UnsafeUnpin for Pickle
impl UnwindSafe for Pickle
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