From d3fcd1c75ac63022a875918b6990e42b65260177 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 7 Sep 2010 15:20:26 -0700 Subject: [PATCH] Expose SlowBuffer --- lib/buffer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/buffer.js b/lib/buffer.js index 25ab22b5c93..e20b3d5eb5a 100644 --- a/lib/buffer.js +++ b/lib/buffer.js @@ -156,6 +156,7 @@ function Buffer (subject, encoding, offset) { SlowBuffer.makeFastBuffer(this.parent, this, this.offset, this.length); } +exports.SlowBuffer = SlowBuffer; exports.Buffer = Buffer; Buffer.poolSize = 8*1024;