Function kdbplus::api::new_byte [−][src]
pub fn new_byte(byte: I) -> K
Expand description
Constructor of q byte object. Relabeling of kg
.
Example
use kdbplus::api::*; #[no_mangle] pub extern "C" fn create_byte(_: K) -> K{ new_byte(0x3c) }
q)create_byte: `libapi_examples 2: (`create_byte; 1);
q)create_byte[]
0x3c