|
wavelength 1.0.0
|
The descriptor layouts of ECMA-167 and UDF that the UDF reader and writer share. More...
Classes | |
| struct | EntryLayout |
| class | Volume |
| The data sectors of an ISO9660 volume, from a disc image or built from a disc root. More... | |
Typedefs | |
| using | Seconds |
| A UTC time with a resolution of one second. | |
Functions | |
| std::uint64_t | readLittle64 (std::span< const std::uint8_t > bytes, std::size_t offset) |
| void | writeLittle64 (std::span< std::uint8_t > bytes, std::size_t offset, std::uint64_t value) |
| Seconds | readTime (std::span< const std::uint8_t > bytes, std::size_t offset) |
| void | writeTime (std::span< std::uint8_t > bytes, std::size_t offset, Seconds time) |
| std::uint16_t | crc16 (std::span< const std::uint8_t > bytes) |
| std::uint8_t | tagChecksum (std::span< const std::uint8_t > bytes) |
| std::uint16_t | tagIdentifier (std::span< const std::uint8_t > bytes) |
| bool | isTag (std::span< const std::uint8_t > bytes, std::uint16_t identifier, std::uint32_t location) |
| void | seal (Volume::Sector &descriptor) |
| std::uint16_t | readLittle16 (std::span< const std::uint8_t > bytes, std::size_t offset) |
| Read a little-endian 16-bit value. | |
| std::uint32_t | readLittle32 (std::span< const std::uint8_t > bytes, std::size_t offset) |
| Read a little-endian 32-bit value. | |
| void | writeLittle (std::span< std::uint8_t > bytes, std::size_t offset, std::uint32_t value, std::size_t width=4) |
| Write a little-endian value. | |
Variables | |
| constexpr std::uint16_t | kTagAnchor = 2 |
| constexpr std::uint16_t | kTagPartition = 5 |
| constexpr std::uint16_t | kTagLogicalVolume = 6 |
| constexpr std::uint16_t | kTagTerminating = 8 |
| constexpr std::uint16_t | kTagIntegrity = 9 |
| constexpr std::uint16_t | kTagFileSet = 256 |
| constexpr std::uint16_t | kTagFileIdentifier = 257 |
| constexpr std::uint16_t | kTagFileEntry = 261 |
| constexpr std::uint16_t | kTagExtendedFileEntry = 266 |
| constexpr std::size_t | kTagLength = 16 |
| constexpr std::size_t | kTagChecksum = 4 |
| constexpr std::size_t | kTagCrc = 8 |
| constexpr std::size_t | kTagCrcLength = 10 |
| constexpr std::size_t | kTagLocation = 12 |
| constexpr std::size_t | kAnchorMain = 16 |
| constexpr std::size_t | kAnchorReserve = 24 |
| constexpr std::size_t | kPartitionStart = 188 |
| constexpr std::size_t | kPartitionLength = 192 |
| constexpr std::size_t | kLogicalVolumeFileSet = 252 |
| constexpr std::size_t | kLogicalVolumeIntegrity = 436 |
| constexpr std::size_t | kFileSetRoot = 404 |
| constexpr std::size_t | kIntegrityTime = 16 |
| constexpr std::size_t | kIntegrityPartitions = 72 |
| constexpr std::size_t | kIntegrityFreeSpace = 80 |
| constexpr std::size_t | kEntryFileType = 27 |
| constexpr std::size_t | kEntryFlags = 34 |
| constexpr std::size_t | kEntryInformationLength = 56 |
| constexpr std::size_t | kExtendedObjectSize = 64 |
| constexpr std::uint8_t | kFileTypeDirectory = 4 |
| constexpr std::uint16_t | kAllocationTypeMask = 7 |
| constexpr std::uint16_t | kAllocationShort = 0 |
| constexpr std::uint16_t | kAllocationLong = 1 |
| constexpr std::uint16_t | kAllocationEmbedded = 3 |
| constexpr std::size_t | kShortLength = 8 |
| constexpr std::size_t | kLongLength = 16 |
| constexpr std::uint32_t | kExtentLengthMask = 0x3FFFFFFF |
| constexpr std::size_t | kIdentifierCharacteristics = 18 |
| constexpr std::size_t | kIdentifierNameLength = 19 |
| constexpr std::size_t | kIdentifierIcbBlock = 24 |
| constexpr std::size_t | kIdentifierUseLength = 36 |
| constexpr std::size_t | kIdentifierFixedLength = 38 |
| constexpr std::uint8_t | kCharacteristicParent = 0x08 |
| constexpr EntryLayout | kFileEntryLayout {64, 84, 96, 168, 176} |
| constexpr EntryLayout | kExtendedEntryLayout {72, 92, 116, 208, 216} |
| constexpr std::size_t | kTimeLength = 12 |
| constexpr std::uint16_t | kTimeTypeLocal = 0x1000 |
| constexpr std::uint16_t | kTimeZoneMask = 0xFFF |
| constexpr int | kTimeZoneUnspecified = -2047 |
| constexpr int | kTimeZoneSignBit = 0x800 |
The descriptor layouts of ECMA-167 and UDF that the UDF reader and writer share.
| using Tools::Common::Seconds |
A UTC time with a resolution of one second.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Read a little-endian 16-bit value.
| bytes | Buffer to read. |
| offset | Offset of the value's first byte. |
|
inline |
Read a little-endian 32-bit value.
| bytes | Buffer to read. |
| offset | Offset of the value's first byte. |
|
inline |
Write a little-endian value.
| bytes | Buffer to write. |
| offset | Offset of the value's first byte. |
| value | Value to write. |
| width | Width of the value in bytes. |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |