@geckos.io/typed-array-buffer-schema
Version:
A Schema based Object to Buffer converter
71 lines • 1.59 kB
TypeScript
/** -128 to 127 (1 byte) */
export declare const int8: {
_type: string;
_bytes: number;
};
/** 0 to 255 (1 byte) */
export declare const uint8: {
_type: string;
_bytes: number;
};
/** -32768 to 32767 (2 bytes) */
export declare const int16: {
_type: string;
_bytes: number;
};
/** 0 to 65535 (2 bytes) */
export declare const uint16: {
_type: string;
_bytes: number;
};
/** -2147483648 to 2147483647 (4 bytes) */
export declare const int32: {
_type: string;
_bytes: number;
};
/** 0 to 4294967295 (4 bytes) */
export declare const uint32: {
_type: string;
_bytes: number;
};
/** -2^63 to 2^63-1 (8 bytes) */
export declare const int64: {
_type: string;
_bytes: number;
};
/** 0 to 2^64-1 (8 bytes) */
export declare const uint64: {
_type: string;
_bytes: number;
};
/** 1.2×10-38 to 3.4×1038 (7 significant digits e.g., 1.123456) (4 bytes) */
export declare const float32: {
_type: string;
_bytes: number;
};
/** 5.0×10-324 to 1.8×10308 (16 significant digits e.g., 1.123...15) (8 bytes) */
export declare const float64: {
_type: string;
_bytes: number;
};
/** 1 byte per character */
export declare const string8: {
_type: string;
_bytes: number;
};
/** 2 bytes per character */
export declare const string16: {
_type: string;
_bytes: number;
};
/** An array of 7 booleans */
export declare const bool8: {
_type: string;
_bytes: number;
};
/** An array of 15 booleans */
export declare const bool16: {
_type: string;
_bytes: number;
};
//# sourceMappingURL=views.d.ts.map