@bfchain/bnrtc2-buffer
Advanced tools
Comparing version 0.0.1-alpha.3 to 0.0.1-alpha.4
@@ -55,3 +55,3 @@ "use strict"; | ||
this._dataOffset = Bnrtc2Buffer.HEAD_RESERVE_SIZE; | ||
this._buf.set(oldData, this._endOffset); | ||
this._buf.set(oldData, this._dataOffset); | ||
this._endOffset = Bnrtc2Buffer.HEAD_RESERVE_SIZE + oldData.length; | ||
@@ -58,0 +58,0 @@ } |
@@ -54,3 +54,3 @@ import { encodeUTF8ToBinary, decodeBinaryToUTF8 } from "@bfchain/util-encoding-utf8"; | ||
this._dataOffset = Bnrtc2Buffer.HEAD_RESERVE_SIZE; | ||
this._buf.set(oldData, this._endOffset); | ||
this._buf.set(oldData, this._dataOffset); | ||
this._endOffset = Bnrtc2Buffer.HEAD_RESERVE_SIZE + oldData.length; | ||
@@ -57,0 +57,0 @@ }; |
@@ -52,3 +52,3 @@ import { encodeUTF8ToBinary, decodeBinaryToUTF8 } from "@bfchain/util-encoding-utf8"; | ||
this._dataOffset = Bnrtc2Buffer.HEAD_RESERVE_SIZE; | ||
this._buf.set(oldData, this._endOffset); | ||
this._buf.set(oldData, this._dataOffset); | ||
this._endOffset = Bnrtc2Buffer.HEAD_RESERVE_SIZE + oldData.length; | ||
@@ -55,0 +55,0 @@ } |
{ | ||
"name": "@bfchain/bnrtc2-buffer", | ||
"version": "0.0.1-alpha.3", | ||
"version": "0.0.1-alpha.4", | ||
"main": "cjs/index.js", | ||
@@ -9,5 +9,5 @@ "type": "cjs/index.d.ts", | ||
"dependencies": { | ||
"@bfchain/bnrtc2-buffer-typings": "^0.0.1-alpha.3", | ||
"@bfchain/bnrtc2-buffer-typings": "^0.0.1-alpha.4", | ||
"@bfchain/util-encoding-utf8": "^0.0.1-alpha.4" | ||
} | ||
} |
29396