Create a new buffer from this one with the given mapping function and using Buffer.Companion.auto buffer factory.
Create a new buffer from this one with the given mapping function. Provided bufferFactory is used to construct the new buffer.