(context: &mut ReadContext)
| 240 | |
| 241 | #[inline(always)] |
| 242 | fn fory_read_data(context: &mut ReadContext) -> Result<Self, Error> { |
| 243 | if is_primitive_type::<T>() { |
| 244 | // Read primitive array data directly without intermediate Vec allocation |
| 245 | read_primitive_array(context) |
| 246 | } else { |
| 247 | // Read collection data directly into array without intermediate Vec |
| 248 | read_complex_array(context) |
| 249 | } |
| 250 | } |
| 251 | |
| 252 | #[inline(always)] |
| 253 | fn fory_read_type_info(context: &mut ReadContext) -> Result<(), Error> { |
nothing calls this directly
no test coverage detected