public final class FixedSizeTypesCodec extends Object
Modifier and Type | Field and Description |
---|---|
static int |
BOOLEAN_SIZE_IN_BYTES |
static int |
BYTE_SIZE_IN_BYTES |
static int |
ENUM_SIZE_IN_BYTES |
static int |
INT_SIZE_IN_BYTES |
static int |
LONG_SIZE_IN_BYTES |
static int |
UUID_SIZE_IN_BYTES |
Modifier and Type | Method and Description |
---|---|
static boolean |
decodeBoolean(byte[] buffer,
int pos) |
static byte |
decodeByte(byte[] buffer,
int pos) |
static int |
decodeEnum(byte[] buffer,
int pos) |
static int |
decodeInt(byte[] buffer,
int pos) |
static Integer |
decodeInteger(byte[] buffer,
int pos) |
static long |
decodeLong(byte[] buffer,
int pos) |
static UUID |
decodeUUID(byte[] buffer,
int pos) |
static void |
encodeBoolean(byte[] buffer,
int pos,
boolean value) |
static void |
encodeByte(byte[] buffer,
int pos,
byte value) |
static void |
encodeEnum(byte[] buffer,
int pos,
CacheEventType cacheEventType) |
static void |
encodeEnum(byte[] buffer,
int pos,
CacheSimpleConfig.ExpiryPolicyFactoryConfig.TimedExpiryPolicyFactoryConfig.ExpiryPolicyType expiryPolicyType) |
static void |
encodeEnum(byte[] buffer,
int pos,
IndexType indexType) |
static void |
encodeEnum(byte[] buffer,
int pos,
TimeUnit timeUnit) |
static void |
encodeInt(byte[] buffer,
int pos,
int value) |
static void |
encodeInteger(byte[] buffer,
int pos,
Integer value) |
static void |
encodeLong(byte[] buffer,
int pos,
long value) |
static void |
encodeUUID(byte[] buffer,
int pos,
UUID value) |
public static final int BYTE_SIZE_IN_BYTES
public static final int LONG_SIZE_IN_BYTES
public static final int INT_SIZE_IN_BYTES
public static final int ENUM_SIZE_IN_BYTES
public static final int BOOLEAN_SIZE_IN_BYTES
public static final int UUID_SIZE_IN_BYTES
public static void encodeInt(byte[] buffer, int pos, int value)
public static int decodeInt(byte[] buffer, int pos)
public static void encodeEnum(byte[] buffer, int pos, CacheEventType cacheEventType)
public static void encodeEnum(byte[] buffer, int pos, IndexType indexType)
public static void encodeEnum(byte[] buffer, int pos, CacheSimpleConfig.ExpiryPolicyFactoryConfig.TimedExpiryPolicyFactoryConfig.ExpiryPolicyType expiryPolicyType)
public static void encodeEnum(byte[] buffer, int pos, TimeUnit timeUnit)
public static int decodeEnum(byte[] buffer, int pos)
public static void encodeInteger(byte[] buffer, int pos, Integer value)
public static Integer decodeInteger(byte[] buffer, int pos)
public static void encodeLong(byte[] buffer, int pos, long value)
public static long decodeLong(byte[] buffer, int pos)
public static void encodeBoolean(byte[] buffer, int pos, boolean value)
public static boolean decodeBoolean(byte[] buffer, int pos)
public static void encodeByte(byte[] buffer, int pos, byte value)
public static byte decodeByte(byte[] buffer, int pos)
public static void encodeUUID(byte[] buffer, int pos, UUID value)
public static UUID decodeUUID(byte[] buffer, int pos)
Copyright © 2019 Hazelcast, Inc.. All rights reserved.