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