Added a WriteBytes function (WriteMem)
Added a WriteBytes function (WriteMem)

WriteBytes is a wrapper around WriteMem that lets you use
leptonica to change formats without persisting to disk.

I am not 100% certain I got this one right, but I gave it a shot.

GeertJohan/go.leptonica