OnOutOfSpace

Possible policies for UserProvidedBuffers that run out of space.

Values

ValueMeaning
reallocate

reallocate the buffer with the GC to make room

discard

discard all contents that do not fit in your provided buffer

exception

throw an exception if there is data that would not fit in your provided buffer

Meta