Exemple #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))));
 }
Exemple #2
0
 public int Write(byte[] data, OnZitiDataWritten afterDataWritten, object context)
 {
     return(Write(data, data.Length, afterDataWritten, context));
 }