edgeport - v1.0.3
    Preparing search index...

    Function encodeFilter

    Re-export of the structured Filter union for callers building filters directly.

    • BER-encodes a structured Filter into the context-tagged bytes used inside a SearchRequest.

      Parameters

      • f: Filter

        The structured filter.

      Returns Uint8Array

      The encoded filter element.

      If a composite filter has no members.

      1.0.0

      encodeFilter({ type: 'present', attribute: 'mail' });