Angular Solace Message Client - v20.0.0
    Preparing search index...

    Function mapToBinary

    • RxJS operator for mapping a message into its binary representation.

      Each message is mapped to a tuple of three elements: [, Params, Message].

      Backward compatibility note: Using the version10 factory profile or older, the binary attachment is returned as a 'latin1' String: Each character has a code in the range * 0-255 representing the value of a single received byte at that position.

      Note: Messages must be published as MessageType.BINARY messages, otherwise an error is thrown.

      Type Parameters

      • T extends string | Uint8Array<ArrayBufferLike> = Uint8Array<ArrayBufferLike>

      Returns OperatorFunction<MessageEnvelope, [T, Params, Message]>