7 references to LinkName
System.Formats.Tar (7)
System\Formats\Tar\FieldLocations.cs (2)
23
internal const ushort Magic = LinkName + FieldLengths.
LinkName
;
49
internal const ushort V7Padding = LinkName + FieldLengths.
LinkName
;
System\Formats\Tar\TarHeader.Read.cs (1)
398
_linkName = TarHelpers.GetTrimmedUtf8String(buffer.Slice(FieldLocations.LinkName, FieldLengths.
LinkName
))
System\Formats\Tar\TarHeader.Write.cs (4)
362
private bool IsLinkNameTooLongForRegularField() => _linkName != null && (Encoding.UTF8.GetByteCount(_linkName) + 1) > FieldLengths.
LinkName
;
683
if (GetUtf8TextLength(linkName) > FieldLengths.
LinkName
)
690
int truncatedLength = GetUtf16TruncatedTextLength(linkName, FieldLengths.
LinkName
);
694
checksum += WriteAsUtf8String(linkName, buffer.Slice(FieldLocations.LinkName, FieldLengths.
LinkName
));