(byte: u8)
| 436 | /// Decode a LeafState from a byte. |
| 437 | #[inline] |
| 438 | pub fn decode_leaf_state(byte: u8) -> LeafState { |
| 439 | match byte { |
| 440 | leaf_state::DELETED => LeafState::Deleted, |
| 441 | _ => LeafState::Alive, |
| 442 | } |
| 443 | } |
| 444 | |
| 445 | // TokenKind Encoding/Decoding (1 byte) |
| 446 |