UNPKG

@softchef/cdk-iot-device-management

Version:

IoT device management is composed of things, thing types, thing groups, jobs, files API services. The constructs can be used independently, that are based on full-managed service to create an API Gateway & Lambda function.

10 lines (9 loc) 523 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.toUtf8 = exports.fromUtf8 = void 0; const pureJs_1 = require("./pureJs"); const whatwgEncodingApi_1 = require("./whatwgEncodingApi"); const fromUtf8 = (input) => typeof TextEncoder === "function" ? whatwgEncodingApi_1.fromUtf8(input) : pureJs_1.fromUtf8(input); exports.fromUtf8 = fromUtf8; const toUtf8 = (input) => typeof TextDecoder === "function" ? whatwgEncodingApi_1.toUtf8(input) : pureJs_1.toUtf8(input); exports.toUtf8 = toUtf8;