Skip to content

Commit 6b7a3f4

Browse files
authored
Merge pull request #21 from justinwoo/fix-enc-typo
fix typo causing undefined encoding in buffers
2 parents 5d15790 + 2af3ac1 commit 6b7a3f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Node/Buffer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ exports.writeImpl = function (ty) {
6868
};
6969
};
7070

71-
exports.writeStringImpl = function (enc) {
71+
exports.writeStringImpl = function (encoding) {
7272
return function (offset) {
7373
return function (length) {
7474
return function (value) {

0 commit comments

Comments
 (0)