@as-com/bufio
Advanced tools
Comparing version 0.2.7 to 0.2.8
@@ -20,3 +20,3 @@ /// <reference types="node" /> | ||
getSize(extra?: any): number; | ||
write(bw: IWriter, extra?: any): IWriter; | ||
write(bw: IWriter, extra?: any): any; | ||
read(br: BufferReader, extra?: any): this; | ||
@@ -38,11 +38,27 @@ toString(): string; | ||
inspect(): any; | ||
static read<T extends Struct, C extends StructConstructor<T>>(this: C, br: BufferReader, extra?: any): T; | ||
static decode<T extends Struct, C extends StructConstructor<T>>(this: C, data: Buffer, extra?: any): T; | ||
static fromHex<T extends Struct, C extends StructConstructor<T>>(this: C, str: string, extra?: any): T; | ||
static fromBase64<T extends Struct, C extends StructConstructor<T>>(this: C, str: string, extra?: any): T; | ||
static fromString<T extends Struct, C extends StructConstructor<T>>(this: C, str: string, extra?: any): T; | ||
static fromJSON<T extends Struct, C extends StructConstructor<T>>(this: C, json: any, extra?: any): T; | ||
static fromOptions<T extends Struct, C extends StructConstructor<T>>(this: C, options: any, extra?: any): T; | ||
static from<T extends Struct, C extends StructConstructor<T>>(this: C, options: any, extra?: any): T; | ||
toWriter(bw: BufferWriter, extra?: any): IWriter; | ||
static read<T extends Struct>(this: { | ||
new (...args: any[]): T; | ||
}, br: BufferReader, extra?: any): T; | ||
static decode<T extends Struct>(this: { | ||
new (...args: any[]): T; | ||
}, data: Buffer, extra?: any): T; | ||
static fromHex<T extends Struct>(this: { | ||
new (...args: any[]): T; | ||
}, str: string, extra?: any): T; | ||
static fromBase64<T extends Struct>(this: { | ||
new (...args: any[]): T; | ||
}, str: string, extra?: any): T; | ||
static fromString<T extends Struct>(this: { | ||
new (...args: any[]): T; | ||
}, str: string, extra?: any): T; | ||
static fromJSON<T extends Struct>(this: { | ||
new (...args: any[]): T; | ||
}, json: any, extra?: any): T; | ||
static fromOptions<T extends Struct>(this: { | ||
new (...args: any[]): T; | ||
}, options: any, extra?: any): T; | ||
static from<T extends Struct>(this: { | ||
new (...args: any[]): T; | ||
}, options: any, extra?: any): T; | ||
toWriter(bw: BufferWriter, extra?: any): any; | ||
fromReader(br: BufferReader, extra?: any): this; | ||
@@ -49,0 +65,0 @@ toRaw(extra?: any): Buffer; |
{ | ||
"name": "@as-com/bufio", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"description": "Buffer and serialization utilities for TypeScript", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
191363
4902