Trait xbadpcm::XboxADPCMEncodeSink
source · pub trait XboxADPCMEncodeSink {
type Error: Sized;
fn write(&mut self, bytes: &[u8]) -> Result<(), Self::Error>;
fn reserve(&mut self, bytes_amount: usize) -> Result<(), Self::Error> { ... }
}
Expand description
Writer outputting ADPCM blocks.
This is automatically implemented for Vec<u8>
if the "std"
feature is enabled (which it is by default).