ByteBufferRewinder

open class ByteBufferRewinder : DataRewinder<T>

Rewinds java.nio.ByteBuffers.

Constructors

Link copied to clipboard
open fun ByteBufferRewinder(buffer: ByteBuffer)

Types

Link copied to clipboard
open class Factory : DataRewinder.Factory<T>

Functions

Link copied to clipboard
open fun cleanup()
Called when this rewinder is no longer needed and can be cleaned up.
Link copied to clipboard
open fun rewindAndGet(): ByteBuffer
Rewinds the wrapped data back to the beginning and returns the re-wound data (or a wrapper for the re-wound data).