Class ByteUtil


  • public final class ByteUtil
    extends Object
    The type Byte util.
    • Constructor Detail

      • ByteUtil

        public ByteUtil()
    • Method Detail

      • asLiteral

        public static String asLiteral​(byte aByte)
        As literal string.
        Parameters:
        aByte - the a byte
        Returns:
        the string
      • byteForLiteral

        public static byte byteForLiteral​(String literal)
        Byte for literal byte.
        Parameters:
        literal - the literal
        Returns:
        the byte
      • byteToLit

        public static String byteToLit​(String number)
        Byte to lit string.
        Parameters:
        number - the number
        Returns:
        the string
      • append

        public static StringBuilder append​(StringBuilder sb)
        Append string builder.
        Parameters:
        sb - the sb
        Returns:
        the string builder