Module bits_as

Module bits_as 

Source

Functionsยง

float32
Converts up to the first 32 bits of a bit string to a 32 bit float
float64
Converts up to the first 64 bits of a bit string to a 64 bit float
int8
Converts up to the first 8 bits of a bit string to 8 bit signed integer.
int16
Converts up the first 16 bits of a bit string to a 16 bit signed integer.
int32
Converts up to the first 32 bits of a bit string to a 32 bit signed integer.
int64
Converts up to the first 64 bits of a bit string to a 64 bit signed integer.
signed
Converts up to the first 64 bits of a bit string to a signed integer.
uint8
Converts up to the first 8 bits of a bit string to a 8 bit unsigned integer.
uint16
Converts up the first 16 bits of a bit string to a 16 bit unsigned integer.
uint32
Converts up to the first 32 bits of a bit string to a 32 bit unsigned integer.
uint64
Converts up to the first 64 bits of a bit string to a 64 bit unsigned integer.
unsigned
Converts up to the first 64 bits of a bit string to an unsigned integer.
vec_bool
Converts a bit string to a vector of booleans
vec_f32
Converts a bit string to a vector of 32 bit floats
vec_f64
Converts a bit string to a vector of 64 bit floats
vec_i8
Converts a bit string to a vector of 8 bit signed integers.
vec_i16
Converts a bit string to a vector of 16 bit signed integers.
vec_i32
Converts a bit string to a vector of 32 bit signed integers.
vec_i64
Converts a bit string to a vector of 64 bit signed integers.
vec_isize
Converts a bit string to a vector of signed integers.
vec_u8
Converts a bit string to a vector of 8 bit unsigned integers.
vec_u16
Converts a bit string to a vector of 16 bit unsigned integers.
vec_u32
Converts a bit string to a vector of 32 bit unsigned integers.
vec_u64
Converts a bit string to a vector of 64 bit unsigned integers.
vec_usize
Converts a bit string to a vector of unsigned integers.