6 references to Prefix
System.Formats.Tar (6)
System\Formats\Tar\FieldLocations.cs (1)
50
internal const ushort PosixPadding = Prefix + FieldLengths.
Prefix
;
System\Formats\Tar\TarHeader.Read.cs (1)
553
_prefix = TarHelpers.GetTrimmedUtf8String(buffer.Slice(FieldLocations.Prefix, FieldLengths.
Prefix
));
System\Formats\Tar\TarHeader.Write.cs (4)
548
const int MaxPathName = FieldLengths.
Prefix
+ 1 + FieldLengths.Name;
582
while (prefix.Length - name.Length > FieldLengths.
Prefix
)
594
if (prefix.Length <= FieldLengths.
Prefix
&& name.Length <= FieldLengths.Name)
598
int checksum = WriteLeftAlignedBytesAndGetChecksum(prefix, buffer.Slice(FieldLocations.Prefix, FieldLengths.
Prefix
));