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