pub fn encode_item_header(&mut self, len: u32) -> Result<()> {
        self.encoder
            .encode_item_header(&mut self.to, len)
            .context(EncodeData {
                position: self.bytes_written,
            })?;
        self.bytes_written += 8;
        Ok(())
    }
/// Encode and write an item header.
Encode and write an item header.
Encode and write an item header .
pub fn encode_item_header(&mut self, len: u32) -> Result<()> {
        self.encoder
            .encode_item_header(&mut self.to, len)
            .context(EncodeData {
                position: self.bytes_written,
            })?;
        self.bytes_written += 8;
        Ok(())
    }
pub fn encode_item_header ( & mut self , len : u32 ) -> Result < ( ) > { self . encoder . encode_item_header ( & mut self . to , len ) . context ( EncodeData { position : self . bytes_written , } ) ? ; self . bytes_written += 8 ; Ok ( ( ) ) }
Encode and write an item header.
Encode and write an item header .
&mut self
len
u32
&mut self
len
u32