Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Node.js ライブラリ 'ref' には、2 つの定義済みオブジェクト NULL と NULL_POINTER があり、これらは同じ概念 (C/C++ ヌル ポインター) にマップされます。どちらも Buffer オブジェクトであり、ドキュメンテーションは実際には何がそれらを分離しているのかを説明していません。
ref.NULL オブジェクトと ref.NULL_POINTER オブジェクトの違いは何ですか? どちらか一方を使用するのはいつですか?