diff --git a/src/node_buffer.cc b/src/node_buffer.cc index 2cbcb5461e52d6..36917f75555422 100644 --- a/src/node_buffer.cc +++ b/src/node_buffer.cc @@ -1554,21 +1554,9 @@ void Initialize(Local target, SetMethod(context, target, "hexWrite", StringWrite); SetMethod(context, target, "ucs2Write", StringWrite); - SetFastMethod(context, - target, - "asciiWriteStatic", - SlowWriteString, - &fast_write_string); - SetFastMethod(context, - target, - "latin1WriteStatic", - SlowWriteString, - &fast_write_string); - SetFastMethod(context, - target, - "utf8WriteStatic", - SlowWriteString, - &fast_write_string); + SetMethod(context, target, "asciiWriteStatic", SlowWriteString); + SetMethod(context, target, "latin1WriteStatic", SlowWriteString); + SetMethod(context, target, "utf8WriteStatic", SlowWriteString); SetMethod(context, target, "getZeroFillToggle", GetZeroFillToggle); }