13 references to Name
System.Formats.Tar (13)
System\Formats\Tar\FieldLocations.cs (1)
12internal const ushort Mode = FieldLengths.Name;
System\Formats\Tar\TarHeader.Read.cs (1)
387name: TarHelpers.GetTrimmedUtf8String(buffer.Slice(FieldLocations.Name, FieldLengths.Name)),
System\Formats\Tar\TarHeader.Write.cs (11)
374if (Encoding.UTF8.GetByteCount(_name) > FieldLengths.Name) 410if (Encoding.UTF8.GetByteCount(_name) > FieldLengths.Name) 527if (encodedLength > FieldLengths.Name) 534int utf16NameTruncatedLength = GetUtf16TruncatedTextLength(name, FieldLengths.Name); 538return WriteAsUtf8String(name, buffer.Slice(FieldLocations.Name, FieldLengths.Name)); 548const int MaxPathName = FieldLengths.Prefix + 1 + FieldLengths.Name; 560if (pathNameBytes.Length <= FieldLengths.Name) 562return WriteLeftAlignedBytesAndGetChecksum(pathNameBytes, buffer.Slice(FieldLocations.Name, FieldLengths.Name)); 594if (prefix.Length <= FieldLengths.Prefix && name.Length <= FieldLengths.Name) 599checksum += WriteLeftAlignedBytesAndGetChecksum(name, buffer.Slice(FieldLocations.Name, FieldLengths.Name)); 1178return result.Length >= FieldLengths.Name ?