Class ByteArraySingleTerminatorSerializer

All Implemented Interfaces:
Aware, ApplicationEventPublisherAware, Deserializer<byte[]>, Serializer<byte[]>
Direct Known Subclasses:
ByteArrayLfSerializer

public class ByteArraySingleTerminatorSerializer
extends AbstractPooledBufferByteArraySerializer
Reads data in an InputStream to a byte[]; data must be terminated by a single byte (not included in resulting byte[]). Writes a byte[] to an OutputStream and adds the terminator.
Since:
2.2
Author:
Gary Russell, Artem Bilan