java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.conversions.from_bytebuffer.ByteBufferToHex
All Implemented Interfaces:
java.util.function.Function<java.nio.ByteBuffer,​java.lang.String>

public class ByteBufferToHex
extends java.lang.Object
implements java.util.function.Function<java.nio.ByteBuffer,​java.lang.String>
Convert the contents of the input ByteBuffer to a String as hexadecimal. This function is retained to avoid breaking previous workload definitions, but you should use ToHexString instead.
  • Constructor Summary

    Constructors
    Constructor Description
    ByteBufferToHex()  
  • 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 Details

    • ByteBufferToHex

      public ByteBufferToHex()
  • Method Details

    • 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>