(&mut self)
| 86 | Ok(LeafId::new(o, i)) |
| 87 | } |
| 88 | fn optional_branch(&mut self) -> FormatResult<Option<BranchId>> { |
| 89 | if self.flag(roles::BRANCH_AFTER)? { |
| 90 | Ok(Some(self.branch()?)) |
| 91 | } else { |
| 92 | Ok(None) |
| 93 | } |
| 94 | } |
| 95 | fn bytes(&mut self) -> FormatResult<Vec<u8>> { |
| 96 | let tag = self.value(roles::REFERENCE)?; |
| 97 | if tag > 2 { |