Package-level declarations

Types

Link copied to clipboard
class AndroidVfs(androidCtx: Context, assets: AssetManager, sharedPreferences: SharedPreferences, val context: Context, val logger: Logger, storageBaseDir: String, assetsBaseDir: String) : Vfs
Link copied to clipboard
sealed class AssetRef
Link copied to clipboard
object Base64

This class consists exclusively of static methods for obtaining encoders and decoders for the Base64 encoding scheme. The implementation of this class supports the following types of Base64 as specified in RFC 4648 and RFC 2045.

Link copied to clipboard
interface Buffer

Super class for platform-dependent buffers. On the JVM these buffers directly map to the corresponding NIO buffers.

Link copied to clipboard
interface ByteBuffer : Buffer

A Byte buffer for mixed types. All buffer positions are in bytes.

Link copied to clipboard
class ByteBufferImpl(buffer: <Error class: unknown class>) : GenericBuffer<<Error class: unknown class>> , ByteBuffer

ByteBuffer implementation.

Link copied to clipboard

A buffer sequence stream to read a sequence of bytes.

Link copied to clipboard
Link copied to clipboard
interface FloatBuffer : Buffer

A Float buffer.

Link copied to clipboard
class FloatBufferImpl(buffer: <Error class: unknown class>) : GenericBuffer<<Error class: unknown class>> , FloatBuffer

FloatBuffer buffer implementation

Link copied to clipboard
abstract class GenericBuffer<out B>(val capacity: Int, val buffer: B) : Buffer
Link copied to clipboard
class HttpCache
Link copied to clipboard
class IndexedByteSequenceStream(val buffer: ByteBuffer, val step: Int = 0) : ByteSequenceStream
Link copied to clipboard
interface IntBuffer : Buffer

An Int buffer.

Link copied to clipboard
class IntBufferImpl(buffer: <Error class: unknown class>) : GenericBuffer<<Error class: unknown class>> , IntBuffer

IntBuffer buffer implementation

Link copied to clipboard
Link copied to clipboard
class JvmByteSequenceStream(val stream: <Error class: unknown class>) : ByteSequenceStream
Link copied to clipboard
class JvmVfs(val context: Context, val logger: Logger, storageBaseDir: String, assetsBaseDir: String) : Vfs
Link copied to clipboard
sealed class LoadedAsset
Link copied to clipboard
class LoadedRawAsset(val ref: AssetRef, val data: ByteBuffer?) : LoadedAsset
Link copied to clipboard
data class RawAssetRef(val url: String, val isLocal: Boolean) : AssetRef
Link copied to clipboard
data class SequenceAssetRef(val url: String) : AssetRef
Link copied to clipboard
Link copied to clipboard
interface ShortBuffer : Buffer

A Short buffer

Link copied to clipboard
class ShortBufferImpl(buffer: <Error class: unknown class>) : GenericBuffer<<Error class: unknown class>> , ShortBuffer

ShortBuffer buffer implementation

Link copied to clipboard
Link copied to clipboard
abstract class Vfs(val context: Context, val logger: Logger, var baseDir: String) : CoroutineScope

A virtual file system that handles loading and streaming data and files.

Link copied to clipboard
class WebVfs(val context: Context, val logger: Logger, assetsBaseDir: String) : Vfs

Functions

Link copied to clipboard
expect fun createByteBuffer(capacity: Int): ByteBuffer
expect fun createByteBuffer(array: ByteArray, isBigEndian: Boolean): ByteBuffer
actual fun createByteBuffer(capacity: Int): ByteBuffer
actual fun createByteBuffer(array: ByteArray, isBigEndian: Boolean): ByteBuffer
actual fun createByteBuffer(capacity: Int): ByteBuffer
actual fun createByteBuffer(array: ByteArray, isBigEndian: Boolean): ByteBuffer
Link copied to clipboard
expect fun createFloatBuffer(capacity: Int): FloatBuffer
actual fun createFloatBuffer(capacity: Int): FloatBuffer
actual fun createFloatBuffer(capacity: Int): FloatBuffer
Link copied to clipboard
expect fun createIntBuffer(capacity: Int): IntBuffer
actual fun createIntBuffer(capacity: Int): IntBuffer
actual fun createIntBuffer(capacity: Int): IntBuffer
Link copied to clipboard
expect fun createShortBuffer(capacity: Int): ShortBuffer
actual fun createShortBuffer(capacity: Int): ShortBuffer
actual fun createShortBuffer(capacity: Int): ShortBuffer