def Cursor.new

bend-kit-bytes@0.3.3.0 · bytes.bend:814

import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
import Base

814def Cursor.new(b: Bytes) -> Cursor:
815  Bytes{+len, buf} = b
816  Cursor{Bytes{len, buf}, 0, 0, len}

Uses (2)

Used by (9)