MarshalMHDR returns encoded msg.
(msg *ttnpb.MHDR)
| 37 | |
| 38 | // MarshalMHDR returns encoded msg. |
| 39 | func MarshalMHDR(msg *ttnpb.MHDR) ([]byte, error) { |
| 40 | return AppendMHDR(make([]byte, 0, 1), msg) |
| 41 | } |
| 42 | |
| 43 | // UnmarshalMHDR unmarshals b into msg. |
| 44 | func UnmarshalMHDR(b []byte, msg *ttnpb.MHDR) error { |
nothing calls this directly
no test coverage detected