@microsoft/ccf-app
    Preparing search index...

    Module converters

    This module provides converters to and from ArrayBuffer objects.

    Converters are commonly used as kv.typedKv or kv.typedKvSet arguments. Another use case is crypto.wrapKey to convert PEM-encoded keys to ArrayBuffer.

    Example:

    import * as ccfapp from '@microsoft/ccf-app';

    const val = 'my-string';
    const buf = ccfapp.string.encode(val); // ArrayBuffer
    const val2 = ccfapp.string.decode(buf); // string, val == val2

    Interfaces

    DataConverter
    TypedArrayConstructor

    Type Aliases

    JsonCompatible
    TypedArray

    Variables

    arrayBuffer
    bool
    checkedJson
    float32
    float64
    int16
    int32
    int64
    int8
    json
    string
    typedArray
    uint16
    uint32
    uint64
    uint8