Struct il2_iltags::tags::standard::implicit::ILBin128Tag [−][src]
pub struct ILBin128Tag { /* fields omitted */ }
Expand description
This struct implements the bin128 standard tag. Since Rust does not implement the IEEE754 128-bit floating point yet, this tag only holds its raw bytes.
By default it sets the tag id to IL_BIN128_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
Returns a mutable reference as Any.
Retuns the size of the serialized value in bytes.
Serializes the payload of this tag. 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<()>
Deserializes the value. Read more
Verifies if this tag is implicity.
Verifies if this tag is reserved.