StorageBytes.utf8.put.four: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/StorageBytes.bend as StorageBytes Lines 154-159 of mylsm-lsm-store@0.6.0.1/src/StorageBytes.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/StorageBytes.bend&start_line=154&end_line=159 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes def utf8.put.four(cursor: Bytes.Cursor, +scalar: U32) -> Bytes.Cursor: utf8.put.byte(utf8.put.byte( utf8.put.byte(utf8.put.byte(cursor, (240 + U32.shrn(scalar, 18n) : U32)), (128 + U32.and(U32.shrn(scalar, 12n), 63) : U32)), (128 + U32.and(U32.shrn(scalar, 6n), 63) : U32)), (128 + U32.and(scalar, 63) : U32)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.shrn https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Cursor https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/StorageBytes.bend&name=utf8.put.byte