def Cursor.write
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytesimport Base
917def Cursor.write(~T: Data, ~write: Bytes -> @+i:U32 -> @+v:T -> Bytes, c: Cursor, +n: U32, v: T) -> Cursor & Bool:
918 Cursor{Bytes{+len, buf}, +pos, +start, +end} = c
919 Cursor.write.if(~T, ~write, Cursor.fits(len, pos, start, end, n), Cursor{Bytes{len, buf}, pos, start, end}, n, v)