Ejemplo n.º 1
0
 public int Write(byte[] data, int len, OnZitiDataWritten afterDataWritten, object context)
 {
     aafterData = afterDataWritten;
     return(Native.API.ziti_write(nativeConnection, data, len, afterData, GCHandle.ToIntPtr(GCHandle.Alloc(context))));
 }
Ejemplo n.º 2
0
 public int Write(byte[] data, OnZitiDataWritten afterDataWritten, object context)
 {
     return(Write(data, data.Length, afterDataWritten, context));
 }