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(HornetQBuffer buffer, String str)
public static String readNullableSimpleStringAsString(HornetQBuffer buffer)
public static void writeAsSimpleString(HornetQBuffer buffer, String str)
public static void writeNullableBoolean(HornetQBuffer buffer, Boolean value)
buffer
- public static int sizeOfNullableBoolean(Boolean value)
public static Boolean readNullableBoolean(HornetQBuffer buffer)
public static void writeNullableLong(HornetQBuffer buffer, Long value)
buffer
- public static void writeNullableDouble(HornetQBuffer buffer, Double value)
buffer
- public static int sizeOfNullableLong(Long value)
public static int sizeOfNullableDouble(Double value)
public static Long readNullableLong(HornetQBuffer buffer)
public static void writeNullableInteger(HornetQBuffer buffer, Integer value)
buffer
- public static int sizeOfNullableInteger(Integer value)
public static Integer readNullableInteger(HornetQBuffer buffer)
public static Double readNullableDouble(HornetQBuffer buffer)
Copyright © 2018 JBoss by Red Hat. All rights reserved.