[u8; 81]

Array 257 v393

About This Type

Fixed-length array of 81 u8 values.

Always exactly 81 elements. No length prefix needed since the size is known at compile time.

Encoding: 81 elements encoded consecutively, no length prefix.

Fixed-Length Array

Element Type
u8
Length
81
SCALE Encoding
Fixed-length (81 x element size bytes)

SCALE Encoding

Rule
81 elements encoded consecutively, no length prefix (size known at compile time).
Size
81 bytes

Examples

81-byte array = [u8; 81]
0xxxxxxxxx...
81 raw bytes 81 bytes concatenated, no prefix

Code Examples

import { TypeRegistry } from "@polkadot/types";

const registry = new TypeRegistry();

// Encode a [u8; 81]
const arr = registry.createType("[u8; 81]", new Uint8Array(81));
console.log("Hex:", arr.toHex());

Referenced By (1)

Type Information

Type ID
257
Kind
Array
Runtime
v393