file_util_encode_fixed_string
Description:
Encode a normal string and save it in the output file.
Unlike camel_file_util_encode_string
, it pads the str
with "NULL" bytes, if len
is > strlen(str)
Parameters:
str |
value to output |
len |
total-len of str to store |
out |
file to output to |
Returns:
0 on success, -1 on error. |
Namespace: Camel
Package: camel-1.2