Coda by Ian Macalinao
    Preparing search index...

    Interface StringTypeNode<TEncoding, TDisplay>

    A string value. The encoding describes how its bytes are written. The byte length is determined by an enclosing wrapper such as sizePrefixTypeNode or fixedSizeTypeNode.

    interface StringTypeNode<
        TEncoding extends BytesEncoding = BytesEncoding,
        TDisplay extends
            StringDisplayNode | undefined = StringDisplayNode | undefined,
    > {
        display?: TDisplay;
        encoding: TEncoding;
        kind: "stringTypeNode";
    }

    Type Parameters

    Index
    display?: TDisplay

    Display metadata describing how the string is presented.

    encoding: TEncoding

    The byte encoding used to serialise the string.

    kind: "stringTypeNode"