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