def rl.put
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
1373# The first m bytes of piece, written into body after the total - left bytes already there.
1374def rl.put(+m: U32, +left: U32, body: Bytes.Bytes, piece: Bytes.Bytes) -> Bytes.Bytes & Bytes.Bytes:
1375 Bytes.Bytes{+total, dst} = body
1376 Bytes.Bytes{+len, src} = piece
1377 rl.put.of(total, len, Bytes.copy(m, src, dst, 0, (total - left : U32)))