ISO

object ISO

Types

Link copied to clipboard
data class DateStruct(val year: Int, val month: Int, val day: Int, val hour: Int, val minute: Int, val second: Int, val offset: Int)
Link copied to clipboard
data class DirectoryRecord(val length: Int, val extendedAttributeLength: Int, val extent: Int, val size: Int, val date: ISO.DateStruct, val flags: Int, val fileUnitSize: Int, val interleave: Int, val volumeSequenceNumber: Int, val rawName: String)
Link copied to clipboard
data class IsoDate(val data: String)
Link copied to clipboard
class IsoFile(val reader: ISO.IsoReader, val record: ISO.DirectoryRecord, val parent: ISO.IsoFile?)
Link copied to clipboard
Link copied to clipboard
data class PrimaryVolumeDescriptor(val volumeDescriptorHeader: ISO.VolumeDescriptorHeader, val pad1: Int, val systemId: String, val volumeId: String, val pad2: Long, val volumeSpaceSize: Int, val pad3: LongArray, val volumeSetSize: Int, val volumeSequenceNumber: Int, val logicalBlockSize: Int, val pathTableSize: Int, val typeLPathTable: Int, val optType1PathTable: Int, val typeMPathTable: Int, val optTypeMPathTable: Int, val rootDirectoryRecord: ISO.DirectoryRecord, val volumeSetId: String, val publisherId: String, val preparerId: String, val applicationId: String, val copyrightFileId: String, val abstractFileId: String, val bibliographicFileId: String, val creationDate: ISO.IsoDate, val modificationDate: ISO.IsoDate, val expirationDate: ISO.IsoDate, val effectiveDate: ISO.IsoDate, val fileStructureVersion: Int, val pad5: Int, val applicationData: ByteArray, val pad6: ByteArray)
Link copied to clipboard
data class UdfAnchorVolumeDescriptorPointer(val descriptorTag: ISO.UdfDescriptorTag, val mainVolumeDescriptorSequenceExtent: ISO.UdfExtent, val reserveVolumeDescriptorSequenceExtent: ISO.UdfExtent)
Link copied to clipboard
data class UdfCharspec(val characterSetType: Int, val characterSetInfo: String)
Link copied to clipboard
data class UdfDescriptorTag(val tagId: ISO.UdfDescriptorTag.TagId, val descVersion: Int, val tagChecksum: Int, val reserved: Int, val tagSerialNumber: Int, val descriptorCRC: Int, val descriptorCRCLength: Int, val tagLocation: Int)
Link copied to clipboard
data class UdfEntityId(val flags: Int, val identifier: String, val identifierSuffix: String)
Link copied to clipboard
data class UdfExtent(val length: Int, val location: Int)
Link copied to clipboard
data class UdfPrimaryVolumeDescriptor(val descriptorTag: ISO.UdfDescriptorTag, val volumeDescriptorSequenceNumber: Int, val primaryVolumeDescriptorNumber: Int, val volumeId: String, val volumeSequenceNumber: Int, val maximumVolumeSequenceNumber: Int, val interchangeLevel: Int, val maximumInterchangeLevel: Int, val characterSetList: Int, val maximumCharacterSetList: Int, val volumeSetIdentifier: String, val descriptorCharacterSet: ISO.UdfCharspec, val explanatoryCharacterSet: ISO.UdfCharspec, val volumeAbstract: ISO.UdfExtent, val volumeCopyrightNotice: ISO.UdfExtent, val applicationIdentifier: ISO.UdfEntityId, val recordingDateandTime: ISO.UdfTimestamp, val implementationIdentifier: ISO.UdfEntityId, val implementationUse: ByteArray, val predecessorVolumeDescriptorSequenceLocation: Int, val flags: Int)
Link copied to clipboard
data class UdfTimestamp(val typeAndTimezone: Int, val year: Int, val month: Int, val day: Int, val hour: Int, val minute: Int, val second: Int, val centiseconds: Int, val hundredsofMicroseconds: Int, val microseconds: Int)
Link copied to clipboard
data class VolumeDescriptorHeader(val type: ISO.VolumeDescriptorHeader.TypeEnum, val id: String, val version: Int)

Properties

Link copied to clipboard
Link copied to clipboard
const val SECTOR_SIZE: Long = 2048

Functions

Link copied to clipboard
suspend fun openVfs(s: AsyncStream, closeStream: Boolean): VfsFile
Link copied to clipboard
suspend fun read(s: AsyncStream): ISO.IsoFile
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard