Skip to main content

load_database

Function load_database 

Source
pub fn load_database(buf: &[u8]) -> Result<Loaded<'_, Database<'_>>, ReadError>
Expand description

The LDB database (RPG_RT.ldb).

ยงErrors

Fails only when the file is too short to hold a header. A wrong magic, an unknown chunk or a truncated field are all recovered from and reported as diagnostics.