driver-core/src/main/com/mongodb/internal/connection/tlschannel/impl/BufferHolder.java
public void zeroRemaining() {
        ((Buffer) buffer).mark();
        buffer.put(ZEROS, 0, buffer.remaining());
        ((Buffer) buffer).reset();
    }
public void zeroRemaining() {
        ((Buffer) buffer).mark();
        buffer.put(ZEROS, 0, buffer.remaining());
        ((Buffer) buffer).reset();
    }
Fill with zeros the remaining of the supplied buffer. This method does
not change the buffer position.
<p>
Typically used for security reasons, with buffers that contains
now-unused plaintext.