public byte[] getReceivedBytes() throws IOException {
		return baos.toByteArray();
	}
Return the bytes received by the sink

@return bytes received by the sink
@throws IOException exception getting bytes from ByteArrayOutputStream
spring-xd-test-fixtures/src/main/java/org/springframework/xd/test/fixtures/TcpSink.java