mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
--console & console: true (#19427)
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com>
This commit is contained in:
@@ -33,7 +33,7 @@ export class SocketFramer {
|
||||
}
|
||||
|
||||
send(data: string): void {
|
||||
socketFramerMessageLengthBuffer.writeUInt32BE(data.length, 0);
|
||||
socketFramerMessageLengthBuffer.writeUInt32BE(Buffer.byteLength(data), 0);
|
||||
this.socket.write(socketFramerMessageLengthBuffer);
|
||||
this.socket.write(data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user