process a block of bytes from in putting the result into out.
the number of bytes written to out.
Error if the output buffer is too small.
See Implementation
process a block of bytes from in putting the result into out.