public class FFiUtils extends Object
| Constructor and Description |
|---|
FFiUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <K extends Leb128Serializable,V extends Leb128Serializable> |
mapToOutputPointer(Map<K,V> map,
com.sun.jna.Pointer output,
com.sun.jna.ptr.IntByReference outputSize)
Serialize a map to a memory location specified by the Pointer; set its actual size in the pointed int.
|
static <V extends Leb128Serializable> |
setToOutputPointer(Set<V> set,
com.sun.jna.Pointer output,
com.sun.jna.ptr.IntByReference outputSize) |
public static <K extends Leb128Serializable,V extends Leb128Serializable> int mapToOutputPointer(Map<K,V> map, com.sun.jna.Pointer output, com.sun.jna.ptr.IntByReference outputSize) throws CloudproofException
K - the map key type. Must be Leb128SerializableV - the map value type. Must be Leb128Serializablemap - the map to serialize and exportoutput - the output PointeroutputSize - the output byte sizeCloudproofException - if the pointer cannot be constructedpublic static <V extends Leb128Serializable> int setToOutputPointer(Set<V> set, com.sun.jna.Pointer output, com.sun.jna.ptr.IntByReference outputSize) throws CloudproofException
CloudproofExceptionCopyright © 2023. All rights reserved.