public final class MarshallerUtil extends Object
Modifier and Type | Method and Description |
---|---|
static <T> T |
bytes2obj(Marshaller marshaller,
byte[] bytes,
short status,
List<String> whitelist) |
static byte[] |
obj2bytes(Marshaller marshaller,
Object o,
boolean isKey,
int estimateKeySize,
int estimateValueSize) |
static <T> T |
tryJavaDeserialize(byte[] bytes,
byte[] ret,
List<String> whitelist) |
public static <T> T bytes2obj(Marshaller marshaller, byte[] bytes, short status, List<String> whitelist)
public static <T> T tryJavaDeserialize(byte[] bytes, byte[] ret, List<String> whitelist)
public static byte[] obj2bytes(Marshaller marshaller, Object o, boolean isKey, int estimateKeySize, int estimateValueSize)
Copyright © 2021 JBoss, a division of Red Hat. All rights reserved.