Function ToolBase [src]

Prototype

pub fn ToolBase(base: [2]u8) u32

Parameters

base: [2]u8

Source

pub fn ToolBase(base: [2]u8) u32 { return (@as(u32, base[0] & 0xff) << 24) | (@as(u32, base[1] & 0xff) << 16); }