public override void Write(BlockBuffer bb) { bb.WriteByte(EntryType); bb.WriteLong(TimeStamp); const int rem = 46; if (Name.Length > rem) { Continuations = (byte)(((Name.Length - rem) / 64) + 1); bb.WriteByte(Continuations); bb.WriteString(Name.Remove(rem)); } else { bb.WriteByte(Continuations); bb.WriteString(Name); } }
public override void Write(BlockBuffer bb) { bb.Offset = 0x0194; bb.WriteLong(TimeStamp); bb.WriteLong(DataSizeInBlocks); bb.WriteLong(SizeOfIndexInBytes); bb.WriteByte((byte)'S'); bb.WriteByte((byte)'F'); bb.WriteByte((byte)'S'); bb.WriteByte(VersionNumber); bb.WriteLong(TotalBlocks); bb.WriteLong(TotalReservedBlocks); bb.WriteByte(BlockSize); bb.WriteByte(Checksum); }
public override void Write(BlockBuffer bb) { bb.WriteByte(EntryType); bb.WriteLong(StartingBlock); bb.WriteLong(EndingBlock); }
public override void Write(BlockBuffer bb) { bb.WriteByte(EntryType); }
public override void Write(BlockBuffer bb) { bb.WriteByte(EntryType); bb.WriteLong(TimeStamp); bb.WriteString(VolumeName); }