Permalink
Browse files

buffer: expose FastBuffer on internal/buffer

PR-URL: #11048
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information...
addaleax committed Feb 28, 2017
1 parent 9b2dd47 commit 6d93508369481591ba31f34bddfd95e2cc151edb
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/buffer.js
View
@@ -1398,4 +1398,6 @@ Buffer.prototype.toLocaleString = Buffer.prototype.toString;
// Put this at the end because internal/buffer has a circular
// dependency on Buffer.
exports.transcode = require('internal/buffer').transcode;
const internalBuffer = require('internal/buffer');
exports.transcode = internalBuffer.transcode;
internalBuffer.FastBuffer = FastBuffer;

0 comments on commit 6d93508

Please sign in to comment.