(refs: &[Address], buf: &mut Vec<u8>)
| 794 | } |
| 795 | } |
| 796 | |
| 797 | impl Axiom { |
| 798 | pub fn put(&self, buf: &mut Vec<u8>) { |
| 799 | put_bool(self.is_unsafe, buf); |
| 800 | put_u64(self.lvls, buf); |
| 801 | put_expr(&self.typ, buf); |
| 802 | } |
| 803 | |
| 804 | pub fn get(buf: &mut &[u8]) -> Result<Self, String> { |
no test coverage detected