Return the number of bytes in the constant.
(&self)
| 73 | impl ConstantData { |
| 74 | /// Return the number of bytes in the constant. |
| 75 | pub fn len(&self) -> usize { |
| 76 | self.0.len() |
| 77 | } |
| 78 | |
| 79 | /// Check if the constant contains any bytes. |
| 80 | pub fn is_empty(&self) -> bool { |