On 19/02/2019 18:01, Andrew Dinn wrote:
:
My reason for using capacity() was that I was swayed by the original
implementation of force(). It calls

   force0(fd, mappingAddress(offset), mappingLength(offset))

:

I'm wondering if this ought to remain as is or ought to change to
specify limit()?

The no-arg force method is specified to force any changes to the buffer content to be written so I don't think it needs to change. We could clarify the spec on this point but I don't think it is strictly needed.

-Alan

Reply via email to