public class Descriptor extends Object
| Modifier and Type | Field and Description |
|---|---|
byte[] |
byte_data |
int[] |
dims |
double[] |
double_data |
byte |
dtype |
static byte |
DTYPE_BYTE |
static byte |
DTYPE_COMPLEX |
static byte |
DTYPE_COMPLEX_DOUBLE |
static byte |
DTYPE_CSTRING |
static byte |
DTYPE_DOUBLE |
static byte |
DTYPE_EVENT |
static byte |
DTYPE_EVENT_NOTIFY |
static byte |
DTYPE_FLOAT |
static byte |
DTYPE_LONG |
static byte |
DTYPE_LONGLONG |
static byte |
DTYPE_SHORT |
static byte |
DTYPE_UBYTE |
static byte |
DTYPE_ULONG |
static byte |
DTYPE_ULONGLONG |
static byte |
DTYPE_USHORT |
String |
error |
float[] |
float_data |
int[] |
int_data |
long[] |
long_data |
static byte |
MAX_DIM |
short[] |
short_data |
int |
status |
String |
strdata |
| Constructor and Description |
|---|
Descriptor() |
Descriptor(byte dtype,
int[] dims,
byte[] byte_data) |
Descriptor(int[] dims,
byte[] byte_data) |
Descriptor(int[] dims,
float[] float_data) |
Descriptor(int[] dims,
int[] int_data) |
Descriptor(int[] dims,
long[] long_data) |
Descriptor(int[] dims,
short[] short_data) |
Descriptor(int[] dims,
String strdata) |
Descriptor(String error) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
dataToByteArray() |
static byte[] |
dataToByteArray(Object o) |
static short |
getDataSize(byte type,
byte[] body) |
int |
getInt() |
int |
getStatus() |
public static final byte MAX_DIM
public static final byte DTYPE_UBYTE
public static final byte DTYPE_USHORT
public static final byte DTYPE_ULONG
public static final byte DTYPE_ULONGLONG
public static final byte DTYPE_BYTE
public static final byte DTYPE_SHORT
public static final byte DTYPE_LONG
public static final byte DTYPE_LONGLONG
public static final byte DTYPE_FLOAT
public static final byte DTYPE_DOUBLE
public static final byte DTYPE_COMPLEX
public static final byte DTYPE_COMPLEX_DOUBLE
public static final byte DTYPE_CSTRING
public static final byte DTYPE_EVENT
public static final byte DTYPE_EVENT_NOTIFY
public byte dtype
public short[] short_data
public double[] double_data
public float[] float_data
public int[] int_data
public byte[] byte_data
public long[] long_data
public String strdata
public String error
public int[] dims
public int status
public Descriptor()
public Descriptor(String error)
public Descriptor(byte dtype,
int[] dims,
byte[] byte_data)
public Descriptor(int[] dims,
byte[] byte_data)
public Descriptor(int[] dims,
long[] long_data)
public Descriptor(int[] dims,
float[] float_data)
public Descriptor(int[] dims,
int[] int_data)
public Descriptor(int[] dims,
short[] short_data)
public Descriptor(int[] dims,
String strdata)
public int getStatus()
public int getInt()
public static byte[] dataToByteArray(Object o)
public byte[] dataToByteArray()
public static short getDataSize(byte type,
byte[] body)
Copyright © 2021. All rights reserved.