javascript-binary-converter
Version:
A utility package to quickly handle and convert various Javascript binary objects
16 lines (15 loc) • 590 B
TypeScript
import { DecimalBytesArray } from "../sharedTypes";
import { BaseBytesConverter } from "./BaseBytesConverter";
export default class DecimalBytesConverter extends BaseBytesConverter {
protected original: DecimalBytesArray;
constructor(original: DecimalBytesArray);
toUint8Array(): Uint8Array;
toInt8Array(): Int8Array;
toUint16Array(): Uint16Array;
toInt16Array(): Int16Array;
toUint32Array(): Uint32Array;
toInt32Array(): Int32Array;
toBigUint64Array(): BigUint64Array;
toBigInt64Array(): BigInt64Array;
toHexString(): string[];
}