The pixels as tightly packed RGBA_8888 in an NSData, which Swift sees as Data.
The path a Swift caller should take, since it reads at native speed rather than one bridged call per byte.
Return
the pixel data, or an empty NSData once close has been called.