Bytes64 is a branded Uint8Array type representing exactly 64 bytes (512 bits). It provides strict size validation and type safety for large fixed-size byte values.
import * as Bytes64 from 'tevm/primitives/Bytes/Bytes64';// Create from hexconst bytes = Bytes64('0x' + '12'.repeat(64));console.log(bytes.length); // 64// Create zero-filledconst zeros = Bytes64.zero();console.log(Bytes64.isZero(zeros)); // true// Size is strictly enforcedBytes64(new Uint8Array(63)); // Error: must be 64 bytes