static std::shared_ptr< RandomAccess > toRandom(std::shared_ptr< DataAccess > accessor) noexcept
Return the RandomAccess interface if the accessor supports it.
Definition: RandomAccessProvider.h:30
static bool isRandomAccess(std::shared_ptr< DataAccess > randomAccess) noexcept
Checks if DataAccess supports RandomAccess interface.
Definition: RandomAccessProvider.h:20