public abstract class LibTypeFcns extends Object
| Constructor and Description |
|---|
LibTypeFcns() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
convertVector(dap4.core.dmr.DapType dsttype,
dap4.core.dmr.DapType srctype,
Object src)
Convert an array of one type of values to another type
|
static 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 Object newVector(dap4.core.dmr.DapType type, long count) throws dap4.core.util.DapException
dap4.core.util.DapExceptionpublic static Object convertVector(dap4.core.dmr.DapType dsttype, dap4.core.dmr.DapType srctype, Object src) throws dap4.core.util.DapException
dsttype - target typesrctype - source typesrc - array of values to convertdap4.core.util.DapException