readFloatBE(offset: number, noAssert?: boolean): number;
readDoubleLE(offset: number, noAssert?: boolean): number;
readDoubleBE(offset: number, noAssert?: boolean): number;
+ reverse(): this;
swap16(): Buffer;
swap32(): Buffer;
swap64(): Buffer;
*
* @param buffer
*/
- static from(buffer: Buffer): Buffer;
+ static from(buffer: Buffer | Uint8Array): Buffer;
/**
* Creates a new Buffer containing the given JavaScript string {str}.
* If provided, the {encoding} parameter identifies the character encoding.
* @param size count of octets to allocate
*/
static allocUnsafeSlow(size: number): Buffer;
-}
\ No newline at end of file
+}