File tree 1 file changed +11
-5
lines changed
1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -49,8 +49,10 @@ exports.writeImpl = function (ty) {
49
49
return function ( value ) {
50
50
return function ( offset ) {
51
51
return function ( buf ) {
52
- buf [ 'write' + ty ] ( value , offset ) ;
53
- return { } ;
52
+ return function ( ) {
53
+ buf [ 'write' + ty ] ( value , offset ) ;
54
+ return { } ;
55
+ }
54
56
} ;
55
57
} ;
56
58
} ;
@@ -61,7 +63,9 @@ exports.writeStringImpl = function (enc) {
61
63
return function ( length ) {
62
64
return function ( value ) {
63
65
return function ( buff ) {
64
- return buff . write ( value , offset , length , encoding ) ;
66
+ return function ( ) {
67
+ return buff . write ( value , offset , length , encoding ) ;
68
+ }
65
69
} ;
66
70
} ;
67
71
} ;
@@ -125,8 +129,10 @@ exports.fill = function (buff) {
125
129
return function ( octet ) {
126
130
return function ( start ) {
127
131
return function ( end ) {
128
- buff . fill ( octet , start , end ) ;
129
- return { } ;
132
+ return function ( ) {
133
+ buff . fill ( octet , start , end ) ;
134
+ return { } ;
135
+ }
130
136
} ;
131
137
} ;
132
138
} ;
You can’t perform that action at this time.
0 commit comments