Function

write-front

Prepends bytes to the front of a body.

On success, this function always writes all the bytes of buf.

write-front: func(body: borrow​<body>, buf: list​<u8>) -> result​<_, error>;