Migrate.Tag.of: def of bend-kit-migrate@0.3.0.0 Import: import bend-kit-migrate@0.3.0.0/migrate.bend as Migrate Lines 225-229 of bend-kit-migrate@0.3.0.0/migrate.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-migrate@0.3.0.0/migrate.bend&start_line=225&end_line=229 import Base import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes # The bytes back, and their tag. Bytes past 16 are not read, but the length still differs. def Tag.of(b: Bytes.Bytes) -> Bytes.Bytes & Tag: Bytes.Bytes{+len, buf} = b +n = Bytes.words(len) Tag.of.w0(len, n, Tag.word(U32.is_lt(0, n), buf, 0)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_lt 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=words https://jend.leeeet.dev/definition.txt?path=bend-kit-migrate@0.3.0.0/migrate.bend&name=Tag https://jend.leeeet.dev/definition.txt?path=bend-kit-migrate@0.3.0.0/migrate.bend&name=Tag.of.w0 https://jend.leeeet.dev/definition.txt?path=bend-kit-migrate@0.3.0.0/migrate.bend&name=Tag.word