LAWS.octets_to_of: law of bend-osdev-bytes@0.1.1.0 Import: import bend-osdev-bytes@0.1.1.0/LAWS.bend as LAWS Lines 128-131 of bend-osdev-bytes@0.1.1.0/LAWS.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-bytes@0.1.1.0/LAWS.bend&start_line=128&end_line=131 import Base import bend-osdev-bytes@0.1.1.0/bytes.bend as B # a list becomes Octets by masking each element to its low 8 bits law octets_to_of: for xs: List<&2, U32> {B.Octets.to_list(B.Octets.of_list(xs)) == B.mask(xs) : List<&2, U32>} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/PROOF.bend&name=p_octets_to_of https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.of_list https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.to_list https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=mask