@Override public void write(byte[] buf, int off, int len) throws TTransportException { super.write(buf, off, len); bytesWritten += (len - off); } public long getBytesWritten() {
@Override public void write(byte[] buf, int off, int len) throws TTransportException { super.write(buf, off, len); bytesWritten += (len - off); } public long getBytesWritten() {