public final class BinaryMessageConverterUtil extends Object
Modifier and Type | Method and Description |
---|---|
static void |
assignData(Object data,
ByteBuffer eventDataBuffer,
org.wso2.siddhi.query.api.definition.Attribute.Type type) |
static int |
getSize(Object data,
org.wso2.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, org.wso2.siddhi.query.api.definition.Attribute.Type type)
public static void assignData(Object data, ByteBuffer eventDataBuffer, org.wso2.siddhi.query.api.definition.Attribute.Type type) throws IOException
IOException
Copyright © 2019 WSO2. All rights reserved.