convert buffer, noexcept