MCPcopy Create free account
hub / github.com/PerroEngine/Perro / read_u32

Function read_u32

perro_source/render_stack/perro_render_bridge/src/two_d.rs:603–606  ·  view source on GitHub ↗
(bytes: &[u8], cursor: &mut usize)

Source from the content-addressed store, hash-verified

601 }
602 write_f32(out, offset[0]);
603 write_f32(out, offset[1]);
604 }
605 TileSetCollisionShape2D::Polygon { points, offset } => {
606 out.push(2);
607 write_u32(out, points.len() as u32);
608 for point in points.iter() {
609 write_f32(out, point.x);

Callers 2

decode_tileset_2d_binaryFunction · 0.70

Calls 2

okMethod · 0.80
read_bytesFunction · 0.70

Tested by

no test coverage detected