def Cursor.new
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytesimport Base
814def Cursor.new(b: Bytes) -> Cursor:
815 Bytes{+len, buf} = b
816 Cursor{Bytes{len, buf}, 0, 0, len}
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytesimport Base
814def Cursor.new(b: Bytes) -> Cursor:
815 Bytes{+len, buf} = b
816 Cursor{Bytes{len, buf}, 0, 0, len}