Beispiel #1
0
 public OpenForkPack(BER br) {
     Bitmap = br.ReadUInt16();
     Fork = br.ReadUInt16();
     Parms = new FileParameters(br, true, Bitmap);
 }
Beispiel #2
0
 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);
 }
Beispiel #3
0
 public MacDir(FileParameters parm, MyDSI3 comm, ConDyn cd, IDir parentDir) {
     this.parm = parm;
     this.comm = comm;
     this.cd = cd;
     this.parentDir = parentDir;
 }
Beispiel #4
0
 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;
 }
Beispiel #5
0
 public static Int64 ResFork(FileParameters parm) {
     if (parm.ExtResourceForkSize.HasValue) return parm.ExtResourceForkSize.Value;
     if (parm.ResourceForkSize.HasValue) return parm.ResourceForkSize.Value;
     return -1L;
 }
Beispiel #6
0
 public static Int64 DataFork(FileParameters parm) {
     if (parm.ExtDataForkSize.HasValue) return parm.ExtDataForkSize.Value;
     if (parm.DataForkSize.HasValue) return parm.DataForkSize.Value;
     return -1L;
 }