public OpenForkPack(BER br) { Bitmap = br.ReadUInt16(); Fork = br.ReadUInt16(); Parms = new FileParameters(br, true, Bitmap); }
public GetFileDirParmsPack(BER br) { FileBitmap = br.ReadUInt16(); DirectoryBitmap = br.ReadUInt16(); FileDir = br.ReadByte(); br.ReadByte(); Parms = new FileParameters(br, (0 == (0x80 & FileDir)), (0 != (0x80 & FileDir)) ? DirectoryBitmap : FileBitmap); }
public MacDir(FileParameters parm, MyDSI3 comm, ConDyn cd, IDir parentDir) { this.parm = parm; this.comm = comm; this.cd = cd; this.parentDir = parentDir; }
public MacEnt(FileParameters parm, Forkty ty, MyDSI3 comm, ConDyn cd, IDir parentDir) { this.parm = parm; this.ty = ty; this.comm = comm; this.cd = cd; this.parentDir = parentDir; }
public static Int64 ResFork(FileParameters parm) { if (parm.ExtResourceForkSize.HasValue) return parm.ExtResourceForkSize.Value; if (parm.ResourceForkSize.HasValue) return parm.ResourceForkSize.Value; return -1L; }
public static Int64 DataFork(FileParameters parm) { if (parm.ExtDataForkSize.HasValue) return parm.ExtDataForkSize.Value; if (parm.DataForkSize.HasValue) return parm.DataForkSize.Value; return -1L; }