Decoder.Binary (WebSocket 1.1 API Documentation - Apache Tomcat 8.5.57)

javax.websocket

## Interface Decoder.Binary<T>

- All Superinterfaces:
    Decoder
  Enclosing interface:
    Decoder

      public static interface Decoder.Binary<T>
      extends Decoder

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface javax.websocket.Decoder

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

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `decode(java.nio.ByteBuffer bytes)`
    `boolean` | `willDecode(java.nio.ByteBuffer bytes)`

    - ### Methods inherited from interface javax.websocket.Decoder

      `destroy, init`

- - ### Method Detail

    - #### decode

          T decode(java.nio.ByteBuffer bytes)
                   throws DecodeException

      Throws:
        `DecodeException`

    - #### willDecode

          boolean willDecode(java.nio.ByteBuffer bytes)

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.