pub fn fixed_bytes(&mut self, value: &[u8], length: usize) -> &WasmEncoder {
        if value.len() != length as usize {
            panic(&("invalid fixed bytes length (".to_string() + &length.to_string() + "), found " + &value.len().to_string()));
        }
        self.buf.extend_from_slice(value);
        self
    }
// encodes a fixed sized substring of bytes into the byte buffer
encodes a fixed sized substring of bytes into the byte buffer
encodes a fixed sized substring of bytes into the byte buffer
pub fn fixed_bytes(&mut self, value: &[u8], length: usize) -> &WasmEncoder {
        if value.len() != length as usize {
            panic(&("invalid fixed bytes length (".to_string() + &length.to_string() + "), found " + &value.len().to_string()));
        }
        self.buf.extend_from_slice(value);
        self
    }
pub fn fixed_bytes ( & mut self , value : & [ u8 ] , length : usize ) -> & WasmEncoder { if value . len ( ) != length as usize { panic ( & ( " " . to_string ( ) + & length . to_string ( ) + " " + & value . len ( ) . to_string ( ) ) ) ; } self . buf . extend_from_slice ( value ) ; self }
encodes a fixed sized substring of bytes into the byte buffer
encodes a fixed sized substring of bytes into the byte buffer
&mut self
value
&[u8]
length
usize