[u8; 96]

Array 272 v393

About This Type

Fixed-length array of 96 u8 values.

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

Encoding: 96 elements encoded consecutively, no length prefix.

Fixed-Length Array

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

SCALE Encoding

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

Examples

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

Code Examples

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

const registry = new TypeRegistry();

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

Referenced By (1)

Type Information

Type ID
272
Kind
Array
Runtime
v393