(&self, context: &mut WriteContext)
| 34 | impl Serializer for String { |
| 35 | #[inline(always)] |
| 36 | fn fory_write_data(&self, context: &mut WriteContext) -> Result<(), Error> { |
| 37 | let bitor = (self.len() as i32 as u64) << 2 | StrEncoding::Utf8 as u64; |
| 38 | context.writer.write_var_u36_small(bitor); |
| 39 | context.writer.write_utf8_string(self); |
| 40 | Ok(()) |
| 41 | } |
| 42 | |
| 43 | #[inline(always)] |
| 44 | fn fory_read_data(context: &mut ReadContext) -> Result<Self, Error> { |
nothing calls this directly
no test coverage detected