HasFlags tests whether the given flags are set.
(subset EncodeFlags)
| 60 | |
| 61 | // HasFlags tests whether the given flags are set. |
| 62 | func (f EncodeFlags) HasFlags(subset EncodeFlags) bool { |
| 63 | return f&subset == subset |
| 64 | } |
| 65 | |
| 66 | const ( |
| 67 | // EncNoFlags indicates nothing special should happen while encoding. |
no outgoing calls
no test coverage detected