private void ReadCallback(IntPtr client, int size, WindowsBufferStruct buf) { if (size < 0) { Lib.uv_close(client, null); _readCallback(this, false); return; } _readBuffer = buf.@base; _readBufferSize = size; _readCallback(this, true); }
private void ReadCallback(IntPtr stream, int size, WindowsBufferStruct buf) { }