@[instance_reducible]
instance
Parser.instGetElemBytesWindowNatUInt8Lt
{w : Nat}
:
GetElem (BytesWindow w) Nat UInt8 fun (x : BytesWindow w) (i : Nat) => i < w
@[reducible, inline]
abbrev
Parser.BytesWindow.narrow
{w : Nat}
(b : BytesWindow w)
(offset w' : Nat)
(h : offset + w' ≤ w := by omega)
:
BytesWindow w'