Made the result buffer nomodifiable