NodeBuffer => Buffer

This commit is contained in:
Benjamin Pasero
2018-08-16 07:38:54 +02:00
parent e2b722d262
commit b57003f330
13 changed files with 23 additions and 23 deletions

View File

@@ -23,7 +23,7 @@ export class LineDecoder {
this.remaining = null;
}
public write(buffer: NodeBuffer): string[] {
public write(buffer: Buffer): string[] {
var result: string[] = [];
var value = this.remaining
? this.remaining + this.stringDecoder.write(buffer)