Function il2_iltags::tags::standard::implicit::implicit_tag_size[][src]

pub fn implicit_tag_size(id: u64) -> u64
Expand description

Returns the size of the implicit tag.

With the exception of ILILInt64Tag and ILSignedILInt64Tag, all implicity tags have fixed size. For those two tags, it will always return the maximum size which is 9.

Arguments:

  • id: The tag id;

Returns:

  • The size of the tag in bytes or 0 if the id is not a valid implicit tag.