Files
herolib/lib/data/dbfs/sid.v
2025-10-12 12:30:19 +03:00

14 lines
243 B
V

module dbfs
import incubaid.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)
}