ferrum-db-client
Advanced tools
Comparing version 0.2.11 to 0.2.12
@@ -133,3 +133,3 @@ "use strict"; | ||
const buffer = Buffer.alloc(payloadSize + 24); | ||
//Hack to skip the constructor of BinaryWriter because it does unecessairy and expensive copying | ||
//Hack to skip the constructor of BinaryWriter because it does unnecessary and expensive copying | ||
const bw = new csharp_binary_stream_1.BinaryWriter(); | ||
@@ -152,3 +152,3 @@ //@ts-ignore | ||
//@ts-ignore | ||
this.socket.write(Buffer.from(bw._buffer.slice(0, bw.position))); | ||
this.socket.write(bw._buffer.slice(0, bw.position)); | ||
} | ||
@@ -155,0 +155,0 @@ getResponse(myId) { |
{ | ||
"name": "ferrum-db-client", | ||
"version": "0.2.11", | ||
"version": "0.2.12", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts", |
@@ -155,3 +155,3 @@ import { BinaryWriter, Encoding } from 'csharp-binary-stream'; | ||
//Hack to skip the constructor of BinaryWriter because it does unecessairy and expensive copying | ||
//Hack to skip the constructor of BinaryWriter because it does unnecessary and expensive copying | ||
const bw = new BinaryWriter(); | ||
@@ -176,3 +176,3 @@ //@ts-ignore | ||
//@ts-ignore | ||
this.socket.write(Buffer.from(bw._buffer.slice(0, bw.position))); | ||
this.socket.write(bw._buffer.slice(0, bw.position)); | ||
} | ||
@@ -179,0 +179,0 @@ |
Sorry, the diff of this file is not supported yet
305485