2020-05-13 06:31:51 +03:00
|
|
|
import { Coder, Reader, Result, Writer } from "./abstract-coder";
|
|
|
|
export declare function pack(writer: Writer, coders: ReadonlyArray<Coder>, values: Array<any> | {
|
|
|
|
[name: string]: any;
|
|
|
|
}): number;
|
|
|
|
export declare function unpack(reader: Reader, coders: Array<Coder>): Result;
|
2019-08-25 09:39:20 +03:00
|
|
|
export declare class ArrayCoder extends Coder {
|
|
|
|
readonly coder: Coder;
|
|
|
|
readonly length: number;
|
|
|
|
constructor(coder: Coder, length: number, localName: string);
|
2020-11-23 11:43:28 +03:00
|
|
|
defaultValue(): Array<any>;
|
2019-08-25 09:39:20 +03:00
|
|
|
encode(writer: Writer, value: Array<any>): number;
|
|
|
|
decode(reader: Reader): any;
|
|
|
|
}
|
2021-01-19 13:22:54 +03:00
|
|
|
//# sourceMappingURL=array.d.ts.map
|