Create a delegation ID from raw bytes.
(bytes: [u8; 32])
| 441 | |
| 442 | /// Create a delegation ID from raw bytes. |
| 443 | pub fn from_bytes(bytes: [u8; 32]) -> Self { |
| 444 | DelegationId(bytes) |
| 445 | } |
| 446 | |
| 447 | /// Get the raw bytes. |
| 448 | pub fn as_bytes(&self) -> &[u8; 32] { |
nothing calls this directly
no test coverage detected