Is returns if c is all of t.
(t ChecksumMode)
| 60 | |
| 61 | // Is returns if c is all of t. |
| 62 | func (c ChecksumMode) Is(t ChecksumMode) bool { |
| 63 | return c&t == t |
| 64 | } |
| 65 | |
| 66 | // Key returns the header key. |
| 67 | func (c ChecksumMode) Key() string { |
no outgoing calls