@iotize/tap
Version:
IoTize Device client for Javascript
10 lines (9 loc) • 512 B
TypeScript
import { BodyConverter } from '@iotize/tap/client/api';
import { TapStreamReader, TapStreamWriter } from '@iotize/tap/client/impl';
import { DBIOTConverterInterface } from '../compressor-interface';
export declare class TLVMappedJsonValueCompressor<T> implements DBIOTConverterInterface<T> {
readonly converter: BodyConverter<T>;
constructor(converter: BodyConverter<T>);
encode(input: T, stream?: TapStreamWriter): Uint8Array;
decode(streamOrBuffer: TapStreamReader | Uint8Array): T;
}