Bytes.put64: def of bend-kit-bytes@0.3.3.0 Import: import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes Lines 277-281 of bend-kit-bytes@0.3.3.0/bytes.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&start_line=277&end_line=281 import Base import bend-kit-int@0.2.0.0/int.bend as Int def put64(b: Bytes, +i: U32, +be: Bool, +v: Int.U64) -> Bytes: Bytes{+len, buf} = b +hi = Int.U64.to_u32(Int.U64.shr(v, 32n)) +lo = Int.U64.to_u32(v) put64.if(fits(len, i, 8), len, buf, i, be, Bool.pick(U32, be, hi, lo), Bool.pick(U32, be, lo, hi)) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=fits https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=put64.if https://jend.leeeet.dev/definition.txt?path=bend-kit-int@0.2.0.0/int.bend&name=U64 https://jend.leeeet.dev/definition.txt?path=bend-kit-int@0.2.0.0/int.bend&name=U64.shr https://jend.leeeet.dev/definition.txt?path=bend-kit-int@0.2.0.0/int.bend&name=U64.to_u32