IsSet returns whether the checksum is valid and known.
()
| 374 | |
| 375 | // IsSet returns whether the checksum is valid and known. |
| 376 | func (c Checksum) IsSet() bool { |
| 377 | return c.Type.IsSet() && len(c.r) == c.Type.RawByteLen() |
| 378 | } |
| 379 | |
| 380 | // Encoded returns the encoded value. |
| 381 | // Returns the empty string if not set or valid. |
no test coverage detected