BufferResolver

Resolves a BufferHandle into a BufferAccessor that can read the underlying bytes. Platform-specific implementations handle file-backed and device-resident buffers; heap-backed handles are resolved generically.

Inheritors

Functions

Link copied to clipboard
abstract fun resolve(handle: BufferHandle): BufferAccessor

Open a BufferAccessor for the given handle. The caller is responsible for closing the returned accessor.