pub fn block_close(
    block: u32,
    name: &str,
    len: u32,
    kind: BlockKind
) -> Result<(), ()>
Expand description

Close the given block, and update its metadata.

The name may be any UTF-8 string, but must be less than 128 bytes in size, e.g. name.as_bytes().len() <= 128.