Example usage for org.springframework.integration.ip.tcp.serializer AbstractByteArraySerializer subclass-usage

List of usage examples for org.springframework.integration.ip.tcp.serializer AbstractByteArraySerializer subclass-usage

Introduction

In this page you can find the example usage for org.springframework.integration.ip.tcp.serializer AbstractByteArraySerializer subclass-usage.

Usage

From source file org.springframework.integration.ip.tcp.serializer.ByteArrayLengthHeaderSerializer.java

/**
 * Reads data in an InputStream to a byte[]; data must be preceded by
 * a binary length (network byte order, not included in resulting byte[]).
 *
 * Writes a byte[] to an OutputStream after a binary length.
 * The length field contains the length of data following the length