Skip to main content

write_tlk_to_vec

Function write_tlk_to_vec 

Source
pub fn write_tlk_to_vec(tlk: &Tlk) -> Result<Vec<u8>, TlkBinaryError>
Expand description

Serializes a TLK to a byte vector in KotOR TLK V3.0 format.

ยงErrors

Every non-I/O failure write_tlk describes. The Vec target has no I/O to fail at.