4 references to Magic
System.Formats.Tar (4)
System\Formats\Tar\FieldLocations.cs (1)
24
internal const ushort Version = Magic + FieldLengths.
Magic
;
System\Formats\Tar\TarHeader.Read.cs (1)
431
ReadOnlySpan<byte> magic = buffer.Slice(FieldLocations.Magic, FieldLengths.
Magic
);
System\Formats\Tar\TarHeader.Write.cs (2)
683
int checksum = WriteLeftAlignedBytesAndGetChecksum(UstarMagicBytes, buffer.Slice(FieldLocations.Magic, FieldLengths.
Magic
));
691
int checksum = WriteLeftAlignedBytesAndGetChecksum(GnuMagicBytes, buffer.Slice(FieldLocations.Magic, FieldLengths.
Magic
));