}
public static byte[] toBytes(final Object obj, final int estimatedLen) {
final FastMultiByteArrayOutputStream bos = new FastMultiByteArrayOutputStream(estimatedLen * 2);
toStream(obj, bos);
return bos.toByteArray_clear();
}
public static byte[] toGzipCompressedBytes(final Object obj) {
final FastMultiByteArrayOutputStream bos = new FastMultiByteArrayOutputStream();
final GZIPOutputStream gos;