NodeCrypto Help

Endian Converter

Category: Utility ยท Node Type ID: utility-endian

Reverses the byte order of the input (big-endian <-> little-endian)

Overview

Reverses the byte order of the input byte array from first-to-last (converting between Big-Endian and Little-Endian byte representations). For example, the 4-byte sequence 01 02 03 04 becomes 04 03 02 01. Bits within each individual byte are not reversed.

When to Use

Parameter Configuration

Endianness Swap has no configuration parameters; it reverses the byte sequence of any connected Bytes buffer.

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
Value data Bytes Required Always visible Input byte array (Uint8Array) whose byte order will be reversed.

Output Ports

Port Nature: Fixed Output Ports (1 total).

Port NamePort IDData TypeVisibility ConditionDescription
Result result Bytes Always visible

Error Cases

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

Examples

Reversing a 32-Byte Hash for Little-Endian Display

Reverse the byte order of a 32-byte digest.

  1. Connect the Digest output of Hash Digest to Data on Endianness Swap; Swapped emits the reversed 32-byte array.