com.netflix.astyanax.serializers.ObjectSerializer Maven / Gradle / Ivy
package com.netflix.astyanax.serializers;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.nio.ByteBuffer;
import com.netflix.astyanax.Serializer;
import com.netflix.astyanax.connectionpool.exceptions.SerializationException;
/**
* The ObjectSerializer is used to turn objects into their binary
* representations.
*
* @author Bozhidar Bozhanov
*
*/
public class ObjectSerializer extends AbstractSerializer