ByteBuffer
Advanced tools
Comparing version 0.2.6 to 0.3.0
@@ -255,3 +255,3 @@ /*! | ||
offset+=2; | ||
_org_buf.write(_list[i].d,_encoding,offset); | ||
_org_buf.write(_list[i].d, offset, _encoding); | ||
offset+=_list[i].l; | ||
@@ -261,3 +261,3 @@ break; | ||
var vlen = Buffer.byteLength(_list[i].d, _encoding);//字符串实际长度 | ||
_org_buf.write(_list[i].d,_encoding,offset); | ||
_org_buf.write(_list[i].d, offset, _encoding); | ||
//补齐\0 | ||
@@ -264,0 +264,0 @@ for(var j = offset + vlen;j<offset+_list[i].l;j++){ |
@@ -14,3 +14,3 @@ { | ||
"main": "ByteBuffer.js", | ||
"version" : "0.2.6" | ||
"version" : "0.3.0" | ||
} |
40513
6