(&self, buffer: &mut Buffer<B>)
| 22 | type Error = BufferError; |
| 23 | |
| 24 | fn encode<B>(&self, buffer: &mut Buffer<B>) -> Result<(), Report<Self::Error>> |
| 25 | where |
| 26 | B: BufMut, |
| 27 | { |
| 28 | buffer.push_number(*self) |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | impl Encode for u16 { |
no test coverage detected