Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
256-bit unsigned integer (big-endian)
import Voltaire let one = try U256(hex: "0x01") print(one.hex) // 0x + 64 hex chars let raw = [UInt8](repeating: 0xaa, count: 32) let v = try U256(bytes: raw) XCTAssertEqual(v.bytes, raw) // Zero constant XCTAssertEqual(U256.zero.hex, "0x" + String(repeating: "00", count: 64))
Was this page helpful?
Suggestions