public final class BinaryMessageConverterUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
assignData(Object data,
ByteBuffer eventDataBuffer,
io.siddhi.query.api.definition.Attribute.Type type) |
static int |
getSize(Object data,
io.siddhi.query.api.definition.Attribute.Type type) |
static String |
getString(ByteBuffer byteBuffer,
int size) |
static byte[] |
loadData(InputStream in,
byte[] dataArray) |
public static byte[] loadData(InputStream in, byte[] dataArray) throws IOException
IOExceptionpublic static String getString(ByteBuffer byteBuffer, int size) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic static int getSize(Object data, io.siddhi.query.api.definition.Attribute.Type type)
public static void assignData(Object data, ByteBuffer eventDataBuffer, io.siddhi.query.api.definition.Attribute.Type type) throws IOException
IOExceptionCopyright © 2020 WSO2. All rights reserved.