2016-10-11 14:12:31 -07:00
|
|
|
'use strict';
|
|
|
|
|
2017-10-21 23:25:59 -07:00
|
|
|
const binding = process.binding('buffer');
|
|
|
|
const { setupBufferJS } = binding;
|
|
|
|
|
|
|
|
// Remove from the binding so that function is only available as exported here.
|
|
|
|
// (That is, for internal use only.)
|
|
|
|
delete binding.setupBufferJS;
|
|
|
|
|
|
|
|
// FastBuffer wil be inserted here by lib/buffer.js
|
|
|
|
module.exports = {
|
|
|
|
setupBufferJS
|
|
|
|
};
|