ReadableSection

Represents a section of a file that can be read.

Properties

Link copied to clipboard

The header of the section, if exists.

Link copied to clipboard
open val name: String?

The name of the section, if exists.

Link copied to clipboard
open val size: Long

The size of the section in bytes.

Functions

Link copied to clipboard

Extension function that creates an InputStream from a ReadableSection.

Link copied to clipboard
abstract fun readBytes(sectionOffset: Long, buf: ByteArray, bufOffset: Int, size: Int)

Reads bytes from the section.