public static void writeJoinedTuple(final MultiTuple tuple, final OutputStream outputStream) throws IOException {
        final byte[] tupleData = TupleStringSerializer.joinedTupleToProxyBytes(tuple);

        outputStream.write(DataEncoderHelper.intToByteBuffer(tupleData.length).array());
        outputStream.write(tupleData);