public class HexBinaryFormat extends Object implements BinaryFormat
| Modifier and Type | Field and Description |
|---|---|
static HexBinaryFormat |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
String |
format(ByteBuffer bb)
Formats the given
ByteBuffer as a string. |
ByteBuffer |
parse(String s)
Parses the given string as a
ByteBuffer. |
public static final HexBinaryFormat INSTANCE
public ByteBuffer parse(String s)
BinaryFormatByteBuffer.parse in interface BinaryFormats - the string to parse, may be null.ByteBuffer or null if the string was null.public String format(ByteBuffer bb)
BinaryFormatByteBuffer as a string.format in interface BinaryFormatbb - the value to format, may be null.null if the value was null.Copyright © 2017–2021 DataStax. All rights reserved.