Skip to content

Commit 593ae6e

Browse files
committed
fix: remove names
1 parent 066ccc6 commit 593ae6e

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

lib/internal/buffer.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,20 +1052,20 @@ function addBufferPrototypeMethods(proto) {
10521052
proto.writeDoubleLE = bigEndian ? writeDoubleBackwards : writeDoubleForwards;
10531053
proto.writeDoubleBE = bigEndian ? writeDoubleForwards : writeDoubleBackwards;
10541054

1055-
proto.asciiSlice = function asciiSlice(start, end) { return asciiSlice(this, start, end); };
1056-
proto.base64Slice = function base64Slice(start, end) { return base64Slice(this, start, end); };
1057-
proto.base64urlSlice = function base64urlSlice(start, end) { return base64urlSlice(this, start, end); };
1058-
proto.latin1Slice = function latin1Slice(start, end) { return latin1Slice(this, start, end); };
1059-
proto.hexSlice = function hexSlice(start, end) { return hexSlice(this, start, end); };
1060-
proto.ucs2Slice = function ucs2Slice(start, end) { return ucs2Slice(this, start, end); };
1061-
proto.utf8Slice = function utf8Slice(start, end) { return utf8Slice(this, start, end); };
1062-
proto.asciiWrite = function asciiWrite(string, offset, length) { return asciiWrite(this, string, offset, length); };
1063-
proto.base64Write = function base64Write(string, offset, length) { return base64Write(this, string, offset, length); };
1064-
proto.base64urlWrite = function base64urlWrite(string, offset, length) { return base64urlWrite(this, string, offset, length); };
1065-
proto.latin1Write = function latin1Write(string, offset, length) { return latin1Write(this, string, offset, length); };
1066-
proto.hexWrite = function hexWrite(string, offset, length) { return hexWrite(this, string, offset, length); };
1067-
proto.ucs2Write = function ucs2Write(string, offset, length) { return ucs2Write(this, string, offset, length); };
1068-
proto.utf8Write = function utf8Write(string, offset, length) { return utf8Write(this, string, offset, length); };
1055+
proto.asciiSlice = function(start, end) { return asciiSlice(this, start, end); };
1056+
proto.base64Slice = function(start, end) { return base64Slice(this, start, end); };
1057+
proto.base64urlSlice = function(start, end) { return base64urlSlice(this, start, end); };
1058+
proto.latin1Slice = function(start, end) { return latin1Slice(this, start, end); };
1059+
proto.hexSlice = function(start, end) { return hexSlice(this, start, end); };
1060+
proto.ucs2Slice = function(start, end) { return ucs2Slice(this, start, end); };
1061+
proto.utf8Slice = function(start, end) { return utf8Slice(this, start, end); };
1062+
proto.asciiWrite = function(string, offset, length) { return asciiWrite(this, string, offset, length); };
1063+
proto.base64Write = function(string, offset, length) { return base64Write(this, string, offset, length); };
1064+
proto.base64urlWrite = function(string, offset, length) { return base64urlWrite(this, string, offset, length); };
1065+
proto.latin1Write = function(string, offset, length) { return latin1Write(this, string, offset, length); };
1066+
proto.hexWrite = function(string, offset, length) { return hexWrite(this, string, offset, length); };
1067+
proto.ucs2Write = function(string, offset, length) { return ucs2Write(this, string, offset, length); };
1068+
proto.utf8Write = function(string, offset, length) { return utf8Write(this, string, offset, length); };
10691069
}
10701070

10711071
// This would better be placed in internal/worker/io.js, but that doesn't work

0 commit comments

Comments
 (0)