Encoder.BinaryStream (WebSocket 2.1 API Documentation - Apache Tomcat 10.1.14)

Package jakarta.websocket

## Interface Encoder.BinaryStream<T>

- All Superinterfaces:
    `Encoder`
  Enclosing interface:
    Encoder

      public static interface Encoder.BinaryStream<T>
      extends Encoder

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface jakarta.websocket.Encoder

      `Encoder.Binary<T>, Encoder.BinaryStream<T>, Encoder.Text<T>, Encoder.TextStream<T>`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `encode​(T object, java.io.OutputStream os)` |

    - ### Methods inherited from interface jakarta.websocket.Encoder

      `destroy, init`

- - ### Method Detail

    - #### encode

          void encode​(T object,
                      java.io.OutputStream os)
               throws EncodeException,
                      java.io.IOException

      Throws:
        `EncodeException`
        `java.io.IOException`