Struct il2_iltags::tags::standard::explicit::ILBigDecTag [−][src]
pub struct ILBigDecTag { /* fields omitted */ }
Expand description
This struct implements the standard big decimal tag. This tag serializes the data into a scale value (i32) and the integral part encoded as a two’s complement big endian value.
By default it sets the tag id to IL_BDEC_TAG_ID
.
Implementations
Creates a new instance of this struct with the specified initial value.
Arguments:
value
: A byte slice with the initial value;
Creates a new instance of this struct with the specified initial value.
Arguments:
value
: A byte slice with the initial value;
Creates a new instance of this struct with the specified initial value.
Arguments:
value
: A byte slice with the initial value;
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.