Class InputAsBytes

  • All Implemented Interfaces:
    Bytes

    public final class InputAsBytes
    extends Object
    implements Bytes
    Input as Byte Array.

    This class is for internal use only. Use BytesOf instead.

    There is no thread-safety guarantee.

    Since:
    0.1
    • Method Detail

      • asBytes

        public byte[] asBytes()
                       throws Exception
        Description copied from interface: Bytes
        Convert it to the byte array.
        Specified by:
        asBytes in interface Bytes
        Returns:
        The byte array
        Throws:
        Exception - If fails