Azure / service-fabric-rs

Service Fabric Rust
MIT License
6 stars 7 forks source link

Standardize wstring and hstring conversion #28

Closed youyuanwu closed 4 months ago

youyuanwu commented 4 months ago

All WCHAR related string types conversion goes through the HSTRINGWrap type. And the conversion is as safe as possible, unless the raw pointer points to invalid wide string buffer.