Base64 implements the Encoder interface.
()
| 44 | |
| 45 | // Base64 implements the Encoder interface. |
| 46 | func (h Header) Base64() ([]byte, error) { |
| 47 | return h.MarshalJSON() |
| 48 | } |
| 49 | |
| 50 | // UnmarshalJSON implements json.Unmarshaler for Header. |
| 51 | func (h *Header) UnmarshalJSON(b []byte) error { |
nothing calls this directly
no test coverage detected