public String toString() {
        return new String(((ByteArrayOutputStream) this.out).toByteArray());
    }
An object that reads a stream asynchronously and collects it into a data buffer.
shared/common/src/main/java/com/alibaba/otter/shared/common/utils/cmd/StreamCollector.java