DataRewinder

interface DataRewinder<T>

Responsible for rewinding a stream like data types.

Parameters

<T>

The stream like data type that can be rewound.

Types

Link copied to clipboard
interface Factory<T>
A factory interface for producing individual s.

Functions

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

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard