Extended Transform to operate on buffers as well