NodeCrypto Help

Bytes to String

Category: Data Conversion & Encoding ยท Node Type ID: converter-bytes-to-string

Decodes byte array into human-readable text string (UTF-8, ASCII, Latin-1)

Overview

Decodes a raw byte array (Uint8Array) into a human-readable text string using the selected character encoding (utf-8, ascii, or latin1 / ISO-8859-1).

This node never raises a decoding error on arbitrary bytes: invalid UTF-8 sequences are replaced with the standard replacement character, and latin1 maps every byte 0x00..0xFF directly to its Unicode code point.

When to Use

Parameter Configuration

Parameter (ID)Type & DefaultVisibility ConditionDescription & Options
Character Encoding
encoding
select
Default: utf-8
Always visible Character set used to interpret the input bytes: utf-8 (multi-byte Unicode standard), ascii (7-bit ASCII), or latin1 (ISO-8859-1 single-byte mapping).
  • utf-8: UTF-8 (Standard)
  • ascii: ASCII (7-bit)
  • latin1: Latin-1 (ISO-8859-1)

Port I/O Specification

See Ports & Connections for general wiring rules, data type colors, and dynamic port creation.

Input Ports

Port Nature: Fixed Input Ports (1 total).

Port NamePort IDData TypeRequiredVisibility ConditionDescription
Bytes In bytes Bytes Required Always visible Raw byte array (Uint8Array) to decode.

Output Ports

Port Nature: Fixed Output Ports (1 total).

Port NamePort IDData TypeVisibility ConditionDescription
String Out string String Always visible Decoded text string.

Error Cases

This node has no runtime failure cases (errorProfile: none) and always succeeds for any valid typed input.

Examples

Converting Decrypted Plaintext Bytes into UTF-8 Text

Read the decrypted output of AES Decrypt as a string.

  1. Connect the Plaintext output of AES Decrypt to Bytes to String with Character Encoding set to UTF-8 (Standard).
  2. Connect the Text output port to an Output Inspector.