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