Skip to main content

compile

Function compile 

Source
pub fn compile(world: &World) -> Result<Vec<u8>, Error>
Expand description

Compiles a world into pack bytes. The same world and compiler version always produce the same bytes.

§Errors

Returns an error if SQLite fails or the world exceeds the pack’s bounds.