public final class UTF8 extends Object
Modifier and Type | Field and Description |
---|---|
static Function<byte[],String> |
decode |
static Function<String,byte[]> |
encode |
Modifier and Type | Method and Description |
---|---|
static int |
computeRequiredByteBufferSize(String text) |
static String |
decode(byte[] bytes) |
static String |
decode(byte[] bytes,
int offset,
int length) |
static byte[] |
encode(String string) |
static String |
getDecodedStringFrom(ByteBuffer source) |
static void |
putEncodedStringInto(String text,
ByteBuffer target) |
public static byte[] encode(String string)
public static String decode(byte[] bytes)
public static String decode(byte[] bytes, int offset, int length)
public static String getDecodedStringFrom(ByteBuffer source)
public static void putEncodedStringInto(String text, ByteBuffer target)
public static int computeRequiredByteBufferSize(String text)
Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.