Programação
Little-Endian
📖O que é
A byte ordering convention where the least significant byte is stored at the lowest memory address. Solana uses little-endian byte order for all on-chain data serialization (Borsh defaults to little-endian), matching the native byte order of x86/ARM CPUs that run validators. When manually reading or writing multi-byte integers from account data, developers must use little-endian functions (e.g., u64::from_le_bytes in Rust, readUInt32LE in Node.js).
Sua exploração
0 termos visitados no totalTermos relacionados explorados0/3
Termos Relacionados
BorshProgramming Model
Binary Object Representation Serializer for Hashing—the standard serialization format for …
Ver termo →Serialização / DesserializaçãoProgramming Model
The process of converting in-memory data structures to bytes (serialization) and back (des…
Ver termo →Account DataProgramming Model
The byte array stored in an account that holds program-specific state. Data is typically s…
Ver termo →