static long remaining(ByteBuffer[] buffers) {
        long size = 0;
        for (ByteBuffer buffer : buffers) {
            size += buffer.remaining();
        }
        return size;
    }
Returns the total number of bytes remaining in the buffer array.
common/src/main/java/org/conscrypt/BufferUtils.java