Check if the constant contains any bytes.
(&self)
| 78 | |
| 79 | /// Check if the constant contains any bytes. |
| 80 | pub fn is_empty(&self) -> bool { |
| 81 | self.0.is_empty() |
| 82 | } |
| 83 | |
| 84 | /// Return the data as a slice. |
| 85 | pub fn as_slice(&self) -> &[u8] { |
no outgoing calls
no test coverage detected