---
title: "System::Text::Json::JsonReaderHelper::GetUtf8ByteCount method"
url: "https://reference.aspose.com/pdf/cpp/system.text.json/jsonreaderhelper/getutf8bytecount/"
product: "Aspose.PDF for C++ API Reference"
description: "How to use GetUtf8ByteCount method of System::Text::Json::JsonReaderHelper class in C++."
---

## JsonReaderHelper::GetUtf8ByteCount method




```cpp
static int32_t System::Text::Json::JsonReaderHelper::GetUtf8ByteCount(ReadOnlySpan<char16_t> text)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [JsonReaderHelper](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
