Function git_odb::loose::object::header::encode [−][src]
pub fn encode(object: Kind, size: u64, out: impl Write) -> Result<usize, Error>
Encode the objects Kind
and size
into a format suitable for use with decode()
.