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