org.mapdb / DataOutput2 / ensureAvail

ensureAvail

open fun ensureAvail(n: Int): Unit

make sure there will be enough space in buffer to write N bytes

Parameters

n - number of bytes which can be safely written after this method returns