xiot-core-spec-ts
Version:
XIOT Specification Codec
8 lines (7 loc) • 363 B
TypeScript
import { PropertyTemplate } from '../../typedef/template/PropertyTemplate';
export declare class PropertyTemplateCodec {
static decodeArray(array: any[]): PropertyTemplate[];
static decode(o: any): PropertyTemplate;
static encode(property: PropertyTemplate): Object;
static encodeArray(properties: Map<number, PropertyTemplate>): Array<Object>;
}