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
IOException
public static String getString(ByteBuffer byteBuffer, int size) throws UnsupportedEncodingException
UnsupportedEncodingException
public 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
IOException
Copyright © 2020 WSO2. All rights reserved.