public class BufferHelper extends Object
Constructor and Description |
---|
BufferHelper() |
public static int sizeOfNullableSimpleString(String str)
public static int sizeOfSimpleString(String str)
public static void writeAsNullableSimpleString(ActiveMQBuffer buffer, String str)
public static String readNullableSimpleStringAsString(ActiveMQBuffer buffer)
public static void writeAsSimpleString(ActiveMQBuffer buffer, String str)
public static void writeNullableBoolean(ActiveMQBuffer buffer, Boolean value)
buffer
- public static int sizeOfNullableBoolean(Boolean value)
public static Boolean readNullableBoolean(ActiveMQBuffer buffer)
public static void writeNullableLong(ActiveMQBuffer buffer, Long value)
buffer
- public static void writeNullableDouble(ActiveMQBuffer buffer, Double value)
buffer
- public static int sizeOfNullableLong(Long value)
public static int sizeOfNullableDouble(Double value)
public static Long readNullableLong(ActiveMQBuffer buffer)
public static void writeNullableInteger(ActiveMQBuffer buffer, Integer value)
buffer
- public static int sizeOfNullableInteger(Integer value)
public static Integer readNullableInteger(ActiveMQBuffer buffer)
public static Double readNullableDouble(ActiveMQBuffer buffer)
Copyright © 2019 JBoss by Red Hat. All rights reserved.