public class StringMarshal extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CHARSET |
static int |
NULL_STRING_LENGTH |
| Constructor and Description |
|---|
StringMarshal() |
| Modifier and Type | Method and Description |
|---|---|
static void |
marshal(ByteBuffer buffer,
String string) |
static void |
marshal(io.netty.buffer.ByteBuf buffer,
String string) |
static void |
marshal(org.neo4j.storageengine.api.WritableChannel channel,
String string) |
static String |
unmarshal(io.netty.buffer.ByteBuf buffer) |
static String |
unmarshal(org.neo4j.storageengine.api.ReadableChannel channel) |
public static final String DEFAULT_CHARSET
public static final int NULL_STRING_LENGTH
public static void marshal(io.netty.buffer.ByteBuf buffer,
String string)
public static void marshal(ByteBuffer buffer, String string)
public static String unmarshal(io.netty.buffer.ByteBuf buffer)
public static void marshal(org.neo4j.storageengine.api.WritableChannel channel,
String string)
throws IOException
IOExceptionpublic static String unmarshal(org.neo4j.storageengine.api.ReadableChannel channel) throws IOException
IOExceptionCopyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.