Exemplo n.º 1
0
 public override IAsyncResult BeginWriteBlock(byte[] data, int startIndex, int length, AsyncCallback userCallback, object stateObject)
 {
     return(writeInvoker.BeginInvoke(
                () => base.WriteBlock(data, startIndex, length),
                userCallback, stateObject));
 }
Exemplo n.º 2
0
 public override IAsyncResult BeginWriteFrame(bool isKeyFrame, byte[] frameData, int startIndex, int length, AsyncCallback userCallback, object stateObject)
 {
     return(writeInvoker.BeginInvoke(
                () => base.WriteFrame(isKeyFrame, frameData, startIndex, length),
                userCallback, stateObject));
 }