CloudReadAccess

interface CloudReadAccess

Provide read access to a cloud URI.

Functions

read
Link copied to clipboard
abstract suspend fun read(path: List<String>): ByteArray?
Read binary data from the given path, relative to the uri.

Properties

uri
Link copied to clipboard
abstract val uri: URI
The root URI for the cloud access.

Inheritors

CloudReadWriteAccess
Link copied to clipboard

Extensions

read
Link copied to clipboard
suspend fun CloudReadAccess.read(vararg path: String): ByteArray?
Read binary data from the given path, relative to the uri.
readString
Link copied to clipboard
suspend fun CloudReadAccess.readString(vararg path: String): String?
Read an UTF8 string from the given path, relative to the uri.
suspend fun CloudReadAccess.readString(path: List<String>): String?
Read an UTF8 string from the given path, relative to the uri.