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