(buf: &mut &[u8])
| 376 | } |
| 377 | |
| 378 | /// Delegate indexed serialization to the inner enum, then serialize |
| 379 | /// extension tables. |
| 380 | pub fn put_with( |
| 381 | &self, |
| 382 | idx: NamePut<'_>, |
| 383 | buf: &mut Vec<u8>, |
| 384 | ) -> Result<(), String> { |
| 385 | self.info.put_with(idx, buf)?; |
| 386 | // Extension tables (backward-compatible: 0-length for old constants) |
| 387 | put_vec_len(self.meta_sharing.len(), buf); |
| 388 | for expr in &self.meta_sharing { |
no test coverage detected