- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for PutUvarint (0.05 sec)
-
internal/hash/checksum.go
// ReadCheckSums reads the values back. func (c *Checksum) AppendTo(b []byte, parts []byte) []byte { if c == nil { return nil } var tmp [binary.MaxVarintLen32]byte n := binary.PutUvarint(tmp[:], uint64(c.Type)) crc := c.Raw if c.Type.Trailing() { // When we serialize we don't care if it was trailing. c.Type ^= ChecksumTrailing } if len(crc) != c.Type.RawByteLen() { return b }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 19 12:59:07 UTC 2024 - 12.7K bytes - Viewed (0)