ofSpacedBinaryString method
- String fp
FloatingPointValue constructor from a single binary string representing space-separated bitfields in the order of sign, exponent, mantissa.
For example:
// s e m
ofSpacedBinaryString('0 00000000 00000000000000000000000')
Implementation
FpvType ofSpacedBinaryString(String fp) {
final split = fp.split(' ');
return ofBinaryStrings(split[0], split[1], split[2]);
}