public class BufferHelper extends Object
| Constructor and Description |
|---|
BufferHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Boolean |
readNullableBoolean(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer) |
static Double |
readNullableDouble(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer) |
static Integer |
readNullableInteger(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer) |
static Long |
readNullableLong(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer) |
static String |
readNullableSimpleStringAsString(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer) |
static int |
sizeOfNullableBoolean(Boolean value) |
static int |
sizeOfNullableDouble(Double value) |
static int |
sizeOfNullableInteger(Integer value) |
static int |
sizeOfNullableLong(Long value) |
static int |
sizeOfNullableSimpleString(String str)
Size of a String as if it was a Nullable Simple String
|
static int |
sizeOfSimpleString(String str)
Size of a String as it if was a Simple String
|
static void |
writeAsNullableSimpleString(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer,
String str) |
static void |
writeAsSimpleString(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer,
String str) |
static void |
writeNullableBoolean(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer,
Boolean value) |
static void |
writeNullableDouble(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer,
Double value) |
static void |
writeNullableInteger(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer,
Integer value) |
static void |
writeNullableLong(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer,
Long value) |
public static int sizeOfNullableSimpleString(String str)
public static int sizeOfSimpleString(String str)
public static void writeAsNullableSimpleString(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer,
String str)
public static String readNullableSimpleStringAsString(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer)
public static void writeAsSimpleString(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer,
String str)
public static void writeNullableBoolean(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer,
Boolean value)
buffer - public static int sizeOfNullableBoolean(Boolean value)
public static Boolean readNullableBoolean(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer)
public static void writeNullableLong(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer,
Long value)
buffer - public static void writeNullableDouble(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer,
Double value)
buffer - public static int sizeOfNullableLong(Long value)
public static int sizeOfNullableDouble(Double value)
public static Long readNullableLong(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer)
public static void writeNullableInteger(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer,
Integer value)
buffer - public static int sizeOfNullableInteger(Integer value)
public static Integer readNullableInteger(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer)
public static Double readNullableDouble(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer)
Copyright © 2023 The Apache Software Foundation. All rights reserved.