Skip to content

Commit 5c3dce7

Browse files
committed
fix: remove names
1 parent 7059501 commit 5c3dce7

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
@@ -1059,20 +1059,20 @@ function addBufferPrototypeMethods(proto) {
10591059
proto.writeDoubleLE = bigEndian ? writeDoubleBackwards : writeDoubleForwards;
10601060
proto.writeDoubleBE = bigEndian ? writeDoubleForwards : writeDoubleBackwards;
10611061

1062-
proto.asciiSlice = function asciiSlice(start, end) { return asciiSlice(this, start, end); };
1063-
proto.base64Slice = function base64Slice(start, end) { return base64Slice(this, start, end); };
1064-
proto.base64urlSlice = function base64urlSlice(start, end) { return base64urlSlice(this, start, end); };
1065-
proto.latin1Slice = function latin1Slice(start, end) { return latin1Slice(this, start, end); };
1066-
proto.hexSlice = function hexSlice(start, end) { return hexSlice(this, start, end); };
1067-
proto.ucs2Slice = function ucs2Slice(start, end) { return ucs2Slice(this, start, end); };
1068-
proto.utf8Slice = function utf8Slice(start, end) { return utf8Slice(this, start, end); };
1069-
proto.asciiWrite = function asciiWrite(string, offset, length) { return asciiWrite(this, string, offset, length); };
1070-
proto.base64Write = function base64Write(string, offset, length) { return base64Write(this, string, offset, length); };
1071-
proto.base64urlWrite = function base64urlWrite(string, offset, length) { return base64urlWrite(this, string, offset, length); };
1072-
proto.latin1Write = function latin1Write(string, offset, length) { return latin1Write(this, string, offset, length); };
1073-
proto.hexWrite = function hexWrite(string, offset, length) { return hexWrite(this, string, offset, length); };
1074-
proto.ucs2Write = function ucs2Write(string, offset, length) { return ucs2Write(this, string, offset, length); };
1075-
proto.utf8Write = function utf8Write(string, offset, length) { return utf8Write(this, string, offset, length); };
1062+
proto.asciiSlice = function(start, end) { return asciiSlice(this, start, end); };
1063+
proto.base64Slice = function(start, end) { return base64Slice(this, start, end); };
1064+
proto.base64urlSlice = function(start, end) { return base64urlSlice(this, start, end); };
1065+
proto.latin1Slice = function(start, end) { return latin1Slice(this, start, end); };
1066+
proto.hexSlice = function(start, end) { return hexSlice(this, start, end); };
1067+
proto.ucs2Slice = function(start, end) { return ucs2Slice(this, start, end); };
1068+
proto.utf8Slice = function(start, end) { return utf8Slice(this, start, end); };
1069+
proto.asciiWrite = function(string, offset, length) { return asciiWrite(this, string, offset, length); };
1070+
proto.base64Write = function(string, offset, length) { return base64Write(this, string, offset, length); };
1071+
proto.base64urlWrite = function(string, offset, length) { return base64urlWrite(this, string, offset, length); };
1072+
proto.latin1Write = function(string, offset, length) { return latin1Write(this, string, offset, length); };
1073+
proto.hexWrite = function(string, offset, length) { return hexWrite(this, string, offset, length); };
1074+
proto.ucs2Write = function(string, offset, length) { return ucs2Write(this, string, offset, length); };
1075+
proto.utf8Write = function(string, offset, length) { return utf8Write(this, string, offset, length); };
10761076
}
10771077

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

0 commit comments

Comments
 (0)