[u8; 97]
Array 273 v393About This Type
Fixed-length array of 97 u8 values.
Always exactly 97 elements. No length prefix needed since the size is known at compile time.
Encoding: 97 elements encoded consecutively, no length prefix.
Fixed-Length Array
- Element Type
- u8
- Length
- 97
- SCALE Encoding
- Fixed-length (97 x element size bytes)
SCALE Encoding
- Rule
- 97 elements encoded consecutively, no length prefix (size known at compile time).
- Size
- 97 bytes
Examples
97-byte array = [u8; 97]
0xxxxxxxxx...97 raw bytes 97 bytes concatenated, no prefixCode Examples
import { TypeRegistry } from "@polkadot/types";
const registry = new TypeRegistry();
// Encode a [u8; 97]
const arr = registry.createType("[u8; 97]", new Uint8Array(97));
console.log("Hex:", arr.toHex());Referenced By (1)
Type Information
- Type ID
- 273
- Kind
- Array
- Runtime
- v393