UNPKG

405 BTypeScriptView Raw
1interface Options {
2 bitLength?: 32 | 64;
3 isLe?: boolean;
4}
5/**
6 * @name floatToU8a
7 * @description Converts a float into a U8a representation (While we don't use BE in SCALE
8 * we still allow for either representation, although, as elsewhere, isLe is default)
9 */
10export declare function floatToU8a(value?: String | string | number | Number, { bitLength, isLe }?: Options): Uint8Array;
11export {};