public interface BinaryFormat
| Modifier and Type | Method and Description |
|---|---|
String |
format(ByteBuffer bytes)
Formats the given
ByteBuffer as a string. |
ByteBuffer |
parse(String s)
Parses the given string as a
ByteBuffer. |
@Nullable ByteBuffer parse(@Nullable String s)
ByteBuffer.s - the string to parse, may be null.ByteBuffer or null if the string was null.@Nullable String format(@Nullable ByteBuffer bytes)
ByteBuffer as a string.bytes - the value to format, may be null.null if the value was null.Copyright © 2017–2021 DataStax. All rights reserved.