Class ToHexString
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.conversions.from_bytebuffer.ToHexString
- All Implemented Interfaces:
Function<ByteBuffer,String>
Converts the input ByteBuffer to a hexadecimal String.
-
Constructor Summary
ConstructorsConstructorDescriptionConvert the ByteBuffer's contents to a hex string using upper case by default.ToHexString(boolean useUpperCase) Convert the ByteBuffer's contents to a hex string upper or lower case. -
Method Summary
-
Constructor Details
-
ToHexString
public ToHexString()Convert the ByteBuffer's contents to a hex string using upper case by default. -
ToHexString
public ToHexString(boolean useUpperCase) Convert the ByteBuffer's contents to a hex string upper or lower case.
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<ByteBuffer,String>
-