public class ByteArray
extends com.sun.jna.PointerType
Constructor and Description |
---|
ByteArray() |
Modifier and Type | Method and Description |
---|---|
static String |
n2s(byte[] bytes)
Native-to-Java string mapping
|
static ByteBuffer |
s2bb(String string)
Java-to-native string mapping (using direct ByteBuffer)
|
static byte[] |
s2n(String string)
Java-to-native string mapping
|
String |
toString() |
public static String n2s(byte[] bytes)
bytes
- public static byte[] s2n(String string)
string
- public static ByteBuffer s2bb(String string)
string
- public String toString()
toString
in class com.sun.jna.PointerType
Copyright © 2016 Voikko developers. All rights reserved.