Just use & instead of withUnsafeMutableBufferPointer