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)
552_prefix = TarHelpers.GetTrimmedUtf8String(buffer.Slice(FieldLocations.Prefix, FieldLengths.Prefix));
System\Formats\Tar\TarHeader.Write.cs (4)
538const int MaxPathName = FieldLengths.Prefix + 1 + FieldLengths.Name; 572while (prefix.Length - name.Length > FieldLengths.Prefix) 584if (prefix.Length <= FieldLengths.Prefix && name.Length <= FieldLengths.Name) 588int checksum = WriteLeftAlignedBytesAndGetChecksum(prefix, buffer.Slice(FieldLocations.Prefix, FieldLengths.Prefix));