ReaderImpl

class ReaderImpl(snapshot: DiskLruCache.Snapshot, val dir: File) : Reader

Constructors

Link copied to clipboard
constructor(snapshot: DiskLruCache.Snapshot, dir: File)

Properties

Link copied to clipboard
open override val dir: File

Functions

Link copied to clipboard
fun <T> read(block: (Reader) -> T?): T?
Link copied to clipboard
open override fun readBoolean(): Boolean
Link copied to clipboard
open override fun readBytes(): ByteArray
Link copied to clipboard
open override fun readInt(): Int
Link copied to clipboard
open override fun readLong(): Long
Link copied to clipboard
open override fun readOptionalInt(): Int?
Link copied to clipboard
open override fun readOptionalLong(): Long?
Link copied to clipboard
open override fun readOptionBoolean(): Boolean?
Link copied to clipboard
open override fun readSize(): Long
Link copied to clipboard
open override fun readString(charset: Charset): String
Link copied to clipboard
open override fun readToFile(file: File)