com.amazonaws.util

## クラス BinaryUtils

- java.lang.Object
- - com.amazonaws.util.BinaryUtils

-     public class BinaryUtils
      extends java.lang.Object

  Utilities for encoding and decoding binary data to and from different forms.

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `BinaryUtils()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `static byte[]` | `fromBase64(java.lang.String b64Data)` Converts a Base64-encoded string to the original byte data.
    `static byte[]` | `fromHex(java.lang.String hexData)` Converts a Hex-encoded data string to the original byte data.
    `static java.lang.String` | `toBase64(byte[] data)` Converts byte data to a Base64-encoded string.
    `static java.lang.String` | `toHex(byte[] data)` Converts byte data to a Hex-encoded string.
    `static java.io.InputStream` | `toStream(java.nio.ByteBuffer byteBuffer)` Wraps a ByteBuffer in an InputStream.

    - ### クラスから継承されたメソッド java.lang.Object

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

- - ### コンストラクタの詳細

    - #### BinaryUtils

          public BinaryUtils()

  - ### メソッドの詳細

    - #### toHex

          public static java.lang.String toHex(byte[] data)

      Converts byte data to a Hex-encoded string.
      パラメータ:
        `data` - data to hex encode.
      戻り値:
        hex-encoded string.

    - #### fromHex

          public static byte[] fromHex(java.lang.String hexData)

      Converts a Hex-encoded data string to the original byte data.
      パラメータ:
        `hexData` - hex-encoded data to decode.
      戻り値:
        decoded data from the hex string.

    - #### toBase64

          public static java.lang.String toBase64(byte[] data)

      Converts byte data to a Base64-encoded string.
      パラメータ:
        `data` - data to Base64 encode.
      戻り値:
        encoded Base64 string.

    - #### fromBase64

          public static byte[] fromBase64(java.lang.String b64Data)

      Converts a Base64-encoded string to the original byte data.
      パラメータ:
        `b64Data` - a Base64-encoded string to decode.
      戻り値:
        bytes decoded from a Base64 string.

    - #### toStream

          public static java.io.InputStream toStream(java.nio.ByteBuffer byteBuffer)

      Wraps a ByteBuffer in an InputStream.
      パラメータ:
        `byteBuffer` - The ByteBuffer to wrap.
      戻り値:
        An InputStream wrapping the ByteBuffer content.