Function il2_iltags::tags::serialize_bytes [−][src]
pub fn serialize_bytes(bytes: &[u8], writer: &mut dyn Writer) -> Result<()>
Expand description
Serializes a byte array.
Arguments:
bytes
: The bytes to be written;writer
: The writer;
Returns:
- Ok(()): On success;
- Err(e): In case of error;