MCPcopy Create free account
hub / github.com/MoeMod/CSMoE / CStrAutoEncode

Class CStrAutoEncode

SourceSDK/public/tier1/strtools.h:929–1141  ·  view source on GitHub ↗

This utility class is for performing UTF-8 <-> UTF-16 conversion. It is intended for use with function/method parameters. For example, you can call FunctionTakingUTF16( CStrAutoEncode( utf8_string ).ToWString() ) or FunctionTakingUTF8( CStrAutoEncode( utf16_string ).ToString() ) The converted string is allocated off the heap, and destroyed when the object goes out of scope. if the string cannot

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected