BinaryWriter in binaryninja::binary_view::writer - Rust

Struct BinaryWriter

Source

pub struct BinaryWriter { /* private fields */ }

Implementations§

Trait Implementations§

Source§

impl Debug for BinaryWriter

Source§

impl Drop for BinaryWriter

Source§

impl Seek for BinaryWriter

Source§

impl Write for BinaryWriter

Source§

fn write(&mut self, buf: &[u8]) -> Result<usize>

Writes a buffer into this writer, returning how many bytes were written. Read more

Source§

fn flush(&mut self) -> Result<()>

Flushes this output stream, ensuring that all intermediately buffered contents reach their destination. Read more

1.36.0 · Source§

fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> Result<usize, Error>

Like write, except that it writes from a slice of buffers. Read more

Source§

fn is_write_vectored(&self) -> bool

🔬This is a nightly-only experimental API. (can_vector #69941)

1.0.0 · Source§

fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>

Attempts to write an entire buffer into this writer. Read more

Source§

fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>

🔬This is a nightly-only experimental API. (write_all_vectored #70436)

Attempts to write multiple buffers into this writer. Read more

1.0.0 · Source§

fn write_fmt(&mut self, args: Arguments<'_>) -> Result<(), Error>

Writes a formatted string into this writer, returning any error encountered. Read more

1.0.0 · Source§

fn by_ref(&mut self) -> &mut Self

Creates a “by reference” adapter for this instance of Write. Read more

Source§

impl Send for BinaryWriter

Source§

impl Sync for BinaryWriter

Auto Trait Implementations§

§

impl Freeze for BinaryWriter

§

impl RefUnwindSafe for BinaryWriter

§

impl Unpin for BinaryWriter

§

impl UnwindSafe for BinaryWriter

Blanket Implementations§