Class ByteArrayStxEtxSerializer

All Implemented Interfaces:
Aware, ApplicationEventPublisherAware, Deserializer<byte[]>, Serializer<byte[]>

public class ByteArrayStxEtxSerializer
extends AbstractPooledBufferByteArraySerializer
Reads data in an InputStream to a byte[]; data must be prefixed by <stx> and terminated by <etx> (not included in resulting byte[]). Writes a byte[] to an OutputStream prefixed by <stx> terminated by <etx>
Since:
2.0
Author:
Gary Russell, Artem Bilan