MCPcopy Create free account
hub / github.com/Logicalshift/flo_draw / encode_u32

Function encode_u32

canvas/src/encoding.rs:517–524  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

515
516 #[test]
517 fn encode_u32() {
518 let test_number: u32 = 0xabcd1234;
519
520 let mut encoded = String::new();
521 test_number.encode_canvas(&mut encoded);
522
523 assert!(encoded == "0IRzrC".to_string());
524 }
525
526 #[test]
527 fn encode_f32() {

Callers

nothing calls this directly

Calls 1

encode_canvasMethod · 0.80

Tested by

no test coverage detected