public final class SerializeTestHelper extends Object
Modifier and Type | Method and Description |
---|---|
static Object |
deserialize(byte[] pileOfBytes) |
static <T> ByteArrayOutputStream |
getByteArrayOutputStream(T sourceObject) |
static <T> byte[] |
serialize(T sourceObject) |
static <T> T |
serializeDeserialize(T sourceObject) |
public static <T> T serializeDeserialize(T sourceObject)
public static <T> byte[] serialize(T sourceObject)
public static <T> ByteArrayOutputStream getByteArrayOutputStream(T sourceObject)
public static Object deserialize(byte[] pileOfBytes)
Copyright © 2004–2016. All rights reserved.