VST 3 SDK: Steinberg::StringConvert Namespace Reference
Author: Steinberg

VST 3 SDK VST 3.8 SDK for developing VST plug-in

Loading...
Searching...
No Matches
Functions
Steinberg::StringConvert Namespace Reference

## Functions
std::u16string | convert (const std::string &utf8Str)
| convert an UTF-8 string to an UTF-16 string
std::string | convert (const std::u16string &str)
| convert an UTF-16 string to an UTF-8 string
std::string | convert (const char *str, uint32_t max)
| convert a ASCII string buffer to an UTF-8 string
template<typename NumberT>
std::u16string | toString (NumberT value)
| convert a number to an UTF-16 string

## Function Documentation

## ◆ convert() [1/3]

std::u16string convert | ( | const std::string & | utf8Str | ) |

convert an UTF-8 string to an UTF-16 string

Parameters

  utf8Str | UTF-8 string

Returns
  UTF-16 string

## ◆ convert() [2/3]

std::string convert | ( | const std::u16string & | str | ) |

convert an UTF-16 string to an UTF-8 string

Parameters

  str | UTF-16 string

Returns
  UTF-8 string

## ◆ convert() [3/3]

std::string convert | ( | const char * | str,
|  | uint32_t | max )

convert a ASCII string buffer to an UTF-8 string

Parameters

  str | ASCII string buffer
  max | maximum characters in str

Returns
  UTF-8 string

## ◆ toString()

template<typename NumberT>

std::u16string toString | ( | NumberT | value | ) |

convert a number to an UTF-16 string

Parameters

  value | number

Returns
  UTF-16 string

Empty

Copyright © Steinberg Media Technologies GmbH. All Rights Reserved. This documentation is under this license.