ADM-XRC SDK 2.8.1 User Guide (Linux)
© Copyright 2001-2009 Alpha Data
function conv_integer( constant bv : in byte_vector_t) return natural;
Converts a byte_vector_t (vector of bytes) to an integer.
The bv parameter is converted to a natural, treating the vector as an unsigned multibyte value where bv(0) is the least significant byte. It is the caller's responsibility to ensure that the result does not overflow a natural value.