Trait webrtc_media::audio::buffer::ToByteBufferRef

source ·
pub trait ToByteBufferRef<L>: Sized {
    type Error;

    // Required methods
    fn bytes_len(&self);
    fn to_bytes<B: ByteOrder>(
        &self,
        bytes: &mut [u8],
        channels: usize
    ) -> Result<usize, Self::Error>;
}

Required Associated Types§

Required Methods§

source

fn bytes_len(&self)

source

fn to_bytes<B: ByteOrder>( &self, bytes: &mut [u8], channels: usize ) -> Result<usize, Self::Error>

Object Safety§

This trait is not object safe.

Implementors§