public abstract class LibTypeFcns
extends java.lang.Object
| Constructor and Description |
|---|
LibTypeFcns() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
convertVector(dap4.core.dmr.DapType dsttype,
dap4.core.dmr.DapType srctype,
java.lang.Object src)
Convert an array of one type of values to another type
|
static java.lang.Object |
newVector(dap4.core.dmr.DapType type,
long count) |
static int |
size(dap4.core.dmr.DapType type)
Conmpute the size, in databuffer,
of the daptype wrt to a serialization;
0 if undefined.
|
public static int size(dap4.core.dmr.DapType type)
type - The type of interestpublic static java.lang.Object newVector(dap4.core.dmr.DapType type,
long count)
throws dap4.core.util.DapException
dap4.core.util.DapExceptionpublic static java.lang.Object convertVector(dap4.core.dmr.DapType dsttype,
dap4.core.dmr.DapType srctype,
java.lang.Object src)
throws dap4.core.util.DapException
dsttype - target typesrctype - source typesrc - array of values to convertdap4.core.util.DapException