LL728/mooniso/impl does not have a README file
pub(all) suberror IsoError {
Truncated
BadBothEndian
BadSignature
BadDescriptor(Int)
NotFound(String)
NotDirectory(String)
IsDirectory(String)
IsSymlink(String)
HostIoError(String)
BadDirectoryRecord(Int)
UnsupportedLayout(String)
}pub struct BootEntry {
platform_id : Int
bootable : Bool
media_type : Int
sector_count : Int
load_lba : Int
}pub struct ByteReader {
data : Bytes
pos : Int
}pub struct DirectoryRecord {
extent : Int
size : Int
flags : Int
name : String
date : RecordDate
system_use : Bytes
posix_mode : Int?
symlink_target : String?
}pub struct IsoBuilder {
volume_id : String
joliet : Bool
rock_ridge : Bool
boot_path : String?
efi_path : String?
boot_load_sectors : Int
boot_platform : Int
name_level : Int
rr_version : Int
allow_deep_paths : Bool
boot_info_table : Bool
dirs : Array[String]
files : Array[(String, Bytes)]
symlinks : Array[(String, String)]
}fn IsoBuilder::boot_image(self : IsoBuilder, path : String, load_sectors : Int, platform : Int) -> Unitpub struct IsoImage {
data : Bytes
volume_id : String
block_size : Int
volume_space_size : Int
root : DirectoryRecord
joliet_root : DirectoryRecord?
joliet_level : Int
rock_ridge : Bool
}pub struct PrimaryVolumeDescriptor {
volume_id : String
volume_space_size : Int
logical_block_size : Int
path_table_size : Int
root : DirectoryRecord
}pub struct RecordDate {
year : Int
month : Int
day : Int
hour : Int
minute : Int
second : Int
gmt_offset_quarters : Int
}pub struct UdfExtent {
length : Int
location : Int
partition : Int
}pub struct ValidationReport {
directories : Int
files : Int
symlinks : Int
total_bytes : Int
problems : Array[String]
}pub struct WalkEntry {
path : String
is_dir : Bool
is_symlink : Bool
size : Int
}fn decode_ucs2_be(raw : Bytes) -> Stringfn normalize_iso_name(raw : String) -> Stringfn parse_directory_record_in(reader : ByteReader, joliet : Bool) -> (DirectoryRecord, Int) raise IsoErrorfn parse_primary_volume_descriptor(data : Bytes, lba : Int) -> PrimaryVolumeDescriptor raise IsoErrorInstall
Download zip纯 MoonBit 的 ISO 9660 光盘映像读写库:卷描述符、目录树、Joliet、Rock Ridge 与镜像生成