RealDocs

UKismetStringLibrary::Conv_ByteToString

function Engine Blueprint Since unknown
#include "Kismet/KismetStringLibrary.h"
Access: public Specifiers: staticBlueprintPureBlueprintAutocast

Description

Converts a byte (uint8) value to its string representation. Backs the 'To String (Byte)' Blueprint conversion node.

Caveats & Gotchas

  • Blueprint enums are backed by uint8, so wiring an enum pin into a String input can invoke this node and produce the enum's raw numeric value rather than its display name — use a dedicated enum-to-string conversion (e.g. Conv_EnumToString / GetEnumeratorDisplayName) if you want the readable name.
  • Values above 255 cannot be represented — anything computed as an int and passed here is truncated to the low 8 bits before conversion, not clamped.

Signature

static FString Conv_ByteToString(uint8 InByte)

Parameters

Name Type Description Default
InByte uint8 The byte value to convert.

Return Type

FString

Example

Convert a byte to string C++
uint8 TeamIndex = 2;
FString TeamText = UKismetStringLibrary::Conv_ByteToString(TeamIndex);
// TeamText == "2"

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.