Structure
Checksum
public struct Checksum: Codable, Equatable
Checksum is the sum of all bytes in the file data. This sum is computed treating all bytes as unsigned values and using unsigned arithmetic. Only the least-significant 32 bits of the sum are stored. (From go-cpio's documentation).
Use Checksum.init(bytes:)
to compute the checksum of a file you will add to the archive.
Relationships
Conforms To
Codable
Equatable