Length in bytes of this commit when written to the log via [`Self::write`].
(&self)
| 153 | |
| 154 | /// Length in bytes of this commit when written to the log via [`Self::write`]. |
| 155 | pub fn encoded_len(&self) -> usize { |
| 156 | Self::FRAMING_LEN + self.records.len() |
| 157 | } |
| 158 | |
| 159 | /// Serialize and write `self` to `out`. |
| 160 | /// |