Package com.avaya.clientservices.network.websocket

## Class ByteBufferHelper

- java.lang.Object
- - com.avaya.clientservices.network.websocket.ByteBufferHelper

-     public class ByteBufferHelper
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ByteBufferHelper()` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static java.nio.ByteBuffer` | `createResizedByteBuffer​(java.nio.ByteBuffer bb, int maxSize)` |
    `static byte[]` | `toByteArray​(java.nio.ByteBuffer buffer)` |

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ByteBufferHelper

          public ByteBufferHelper()

  - ### Method Detail

    - #### createResizedByteBuffer

          public static java.nio.ByteBuffer createResizedByteBuffer​(java.nio.ByteBuffer bb,
                                                                    int maxSize)
                                                             throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### toByteArray

          public static byte[] toByteArray​(java.nio.ByteBuffer buffer)