pub fn to_vec(vox: &VoxData) -> Result<Vec<u8>, Error>
Encode VoxData and return bytes as Vec<u8>.
VoxData
Vec<u8>