public class VirgilByteArrayUtils extends Object implements AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Modifier | Constructor and Description |
|---|---|
protected |
VirgilByteArrayUtils(long cPtr,
boolean cMemoryOwn) |
| Modifier and Type | Method and Description |
|---|---|
static String |
bytesToHex(byte[] array) |
static String |
bytesToHex(byte[] array,
boolean formatted) |
static String |
bytesToString(byte[] array) |
void |
close() |
void |
delete() |
protected void |
finalize() |
protected static long |
getCPtr(VirgilByteArrayUtils obj) |
static byte[] |
hexToBytes(String hexStr) |
static byte[] |
jsonToBytes(String json) |
static byte[] |
stringToBytes(String str) |
protected VirgilByteArrayUtils(long cPtr,
boolean cMemoryOwn)
protected static long getCPtr(VirgilByteArrayUtils obj)
public void delete()
public void close()
close in interface AutoCloseablepublic static byte[] jsonToBytes(String json)
public static byte[] stringToBytes(String str)
public static String bytesToString(byte[] array)
public static byte[] hexToBytes(String hexStr)
public static String bytesToHex(byte[] array, boolean formatted)
public static String bytesToHex(byte[] array)
Copyright © 2016. All rights reserved.