This allows readers to provide their own buffers for reading that allow to skip some copy operations. Similar to how this works for ISynchronousWriters.
I think in an earlier version the TlsHandshaker there was a spot where this would have helped. Currently there should be a spot in TlsSynchronousChannel where this would help.
done, though after checking it is rarely useful (it often adds another copy). So keeping asBuffer() instead of getBuffer() in most cases. Though some readers now support both modes similar to the writer providers.
This allows readers to provide their own buffers for reading that allow to skip some copy operations. Similar to how this works for ISynchronousWriters.
I think in an earlier version the TlsHandshaker there was a spot where this would have helped. Currently there should be a spot in TlsSynchronousChannel where this would help.