[u8; 65]

Array 155 v393

About This Type

Fixed-length array of 65 u8 values.

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

Encoding: 65 elements encoded consecutively, no length prefix.

Fixed-Length Array

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

SCALE Encoding

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

Examples

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

Code Examples

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

const registry = new TypeRegistry();

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

Referenced By (3)

Type Information

Type ID
155
Kind
Array
Runtime
v393