Class ToHexString
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.conversions.from_bytebuffer.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.Stringapply(java.nio.ByteBuffer byteBuffer)
-
Constructor Details
-
ToHexString
public ToHexString() -
ToHexString
public ToHexString(boolean useUpperCase)
-
-
Method Details
-
apply
public java.lang.String apply(java.nio.ByteBuffer byteBuffer)- Specified by:
applyin interfacejava.util.function.Function<java.nio.ByteBuffer,java.lang.String>
-