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>;
}