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