---
title: "StandardUSB::stringDescriptorToUTF8"
framework: Kernel
role: symbol
role_heading: Function
platforms: [macOS 12.0+]
path: kernel/3794182-standardusb
---

# StandardUSB::stringDescriptorToUTF8

## Declaration

```occ
IOReturn StandardUSB::stringDescriptorToUTF8(const StringDescriptor *stringDescriptor, char *stringBuffer, size_t & length);
```
