[][src]Trait pigeon::FrameTarget

pub trait FrameTarget {
    fn write_bytes_at(&mut self, pos: usize, bytes: &[u8]);
fn size(&self) -> usize; }

A type which can be written to by a FrameWriter.

Required methods

fn write_bytes_at(&mut self, pos: usize, bytes: &[u8])

Write these bytes at a specific position.

fn size(&self) -> usize

Get the size of the buffer.

Loading content...

Implementations on Foreign Types

impl FrameTarget for ()[src]

impl<'a> FrameTarget for &'a mut [u8][src]

Loading content...

Implementors

Loading content...