bytes.Buffer -> append([]byte)
UTF16FromString -> UTF16PtrFromString