Class Bech32.Bech32Bytes

  • All Implemented Interfaces:
    java.lang.Comparable<ByteArray>
    Direct Known Subclasses:
    Bech32.Bech32Data
    Enclosing class:
    Bech32

    public static class Bech32.Bech32Bytes
    extends ByteArray
    Binary data in 5-bits-per-byte format as used in Bech32 encoding/decoding.
    • Field Summary

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Bech32Bytes​(byte[] bytes)
      Wrapper for a byte[] array.
    • Constructor Detail

      • Bech32Bytes

        protected Bech32Bytes​(byte[] bytes)
        Wrapper for a byte[] array.
        Parameters:
        bytes - bytes to be copied (5-bits per byte format)
    • Method Detail

      • decode5to8

        public byte[] decode5to8()
        Return the data, fully-decoded with 8-bits per byte.
        Returns:
        The data, fully-decoded as a byte array.