Files
herolib/lib/data/dbfs/sid.v
2024-12-25 09:23:31 +01:00

14 lines
251 B
V

module dbfs
import freeflowuniverse.herolib.core.smartid
// get u32 from sid as string
pub fn sid2int(sid string) u32 {
return smartid.sid_int(sid)
}
// represent sid as string, from u32
fn int2sid(sid u32) string {
return smartid.sid_str(sid)
}