Struct il2_iltags::tags::standard::implicit::ILILInt64Tag [−][src]
pub struct ILILInt64Tag { /* fields omitted */ }
Expand description
This struct implements the ILInt standard tag. This tag and ILSignedILInt64Tag
are the only implicit tags whose its value size can vary from 1 to 9 bytes.
By default it sets the tag id to IL_ILINT_TAG_ID
.
Implementations
Constructs this struct using the default tag id.
Arguments:
value
: The initial value;
Constructs this struct using the given tag id and default value.
Arguments:
id
: The specified id;
Constructs this struct using the given tag id and default value.
Arguments:
id
: The specified id;value
: The initial value;
Returns the current value of this tag.
Returns:
- The current value of the tag.
Trait Implementations
Creates a default tag with. Read more
fn deserialize_value(
&mut self,
_factory: &dyn ILTagFactory,
_value_size: usize,
reader: &mut dyn Reader
) -> Result<()>
fn deserialize_value(
&mut self,
_factory: &dyn ILTagFactory,
_value_size: usize,
reader: &mut dyn Reader
) -> Result<()>
This implementation follows the specification of ILTag::deserialize_value()
except for the fact that it does not check the value_size
as it may vary
from 1 to 9 bytes depending on the actual value stored.
Returns a mutable reference as Any.
Retuns the size of the serialized value in bytes.
Serializes the payload of this tag. Read more
Verifies if this tag is implicity.
Verifies if this tag is reserved.