(&self, buf: &mut impl BufMut)
| 298 | } |
| 299 | |
| 300 | fn ssz_fixed_len() -> usize { |
| 301 | PublicKey::SIZE |
| 302 | } |
| 303 | |
| 304 | fn from_ssz_bytes(bytes: &[u8]) -> Result<Self, ssz::DecodeError> { |
| 305 | if bytes.len() != PublicKey::SIZE { |
| 306 | return Err(ssz::DecodeError::InvalidByteLength { |
| 307 | len: bytes.len(), |
| 308 | expected: PublicKey::SIZE, |
| 309 | }); |
no test coverage detected