HasFlags tests whether the given flags are set.
(subset EncodeFlags)
| 27 | |
| 28 | // HasFlags tests whether the given flags are set. |
| 29 | func (f EncodeFlags) HasFlags(subset EncodeFlags) bool { |
| 30 | return f&subset == subset |
| 31 | } |
| 32 | |
| 33 | const ( |
| 34 | // EncNoFlags indicates nothing special should happen while encoding. |
no outgoing calls
no test coverage detected