Skip to main content

is_binary_chunk

Function is_binary_chunk 

Source
pub fn is_binary_chunk(bytes: &[u8]) -> bool
Expand description

True when bytes is a binary chunk (luna or PUC) — only the escape byte is needed to disambiguate from source. Matches PUC’s lua_load-side “starts with \x1b?” check.