Class ToHexString

  • All Implemented Interfaces:
    java.util.function.Function<java.nio.ByteBuffer,​java.lang.String>

    public class ToHexString
    extends java.lang.Object
    implements java.util.function.Function<java.nio.ByteBuffer,​java.lang.String>
    Converts the input ByteBuffer to a hexadecimal String.
    • Constructor Summary

      Constructors 
      Constructor Description
      ToHexString()  
      ToHexString​(boolean useUpperCase)  
    • Method Summary

      Modifier and Type Method Description
      java.lang.String apply​(java.nio.ByteBuffer byteBuffer)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • ToHexString

        public ToHexString()
      • ToHexString

        public ToHexString​(boolean useUpperCase)
    • Method Detail

      • apply

        public java.lang.String apply​(java.nio.ByteBuffer byteBuffer)
        Specified by:
        apply in interface java.util.function.Function<java.nio.ByteBuffer,​java.lang.String>