aboutsummaryrefslogtreecommitdiff
path: root/src/stream_wrap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream_wrap.cc')
-rw-r--r--src/stream_wrap.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stream_wrap.cc b/src/stream_wrap.cc
index 5d6435101e..0f4da42ad0 100644
--- a/src/stream_wrap.cc
+++ b/src/stream_wrap.cc
@@ -499,6 +499,10 @@ void StreamWrap::WriteUcs2String(const FunctionCallbackInfo<Value>& args) {
WriteStringImpl<UCS2>(args);
}
+void StreamWrap::WriteBinaryString(const FunctionCallbackInfo<Value>& args) {
+ WriteStringImpl<BINARY>(args);
+}
+
void StreamWrap::SetBlocking(const FunctionCallbackInfo<Value>& args) {
Environment* env = Environment::GetCurrent(args.GetIsolate());
HandleScope scope(env->isolate());