6 references to Prefix
System.Formats.Tar (6)
System\Formats\Tar\FieldLocations.cs (1)
50internal const ushort PosixPadding = Prefix + FieldLengths.Prefix;
System\Formats\Tar\TarHeader.Read.cs (1)
589_prefix = TarHelpers.ParseUtf8String(buffer.Slice(FieldLocations.Prefix, FieldLengths.Prefix));
System\Formats\Tar\TarHeader.Write.cs (4)
585const int MaxPathName = FieldLengths.Prefix + 1 + FieldLengths.Name; 619while (prefix.Length - name.Length > FieldLengths.Prefix) 631if (prefix.Length <= FieldLengths.Prefix && name.Length <= FieldLengths.Name) 635int checksum = WriteLeftAlignedBytesAndGetChecksum(prefix, buffer.Slice(FieldLocations.Prefix, FieldLengths.Prefix));