You shouldn't need these functions - their purposes are subsume by things like MCStringEncode/Decode/CreateWithBytes etc.