Bytes.Octets.slice: def of bend-osdev-bytes@0.1.1.0 Import: import bend-osdev-bytes@0.1.1.0/bytes.bend as Bytes Lines 627-629 of bend-osdev-bytes@0.1.1.0/bytes.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&start_line=627&end_line=629 import Base # the n bytes at offset i (fewer if o ends first) def Octets.slice(+i: Nat, n: Nat, o: Octets) -> Octets: Octets.take(n, Octets.drop(i, o)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.drop https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.take