Exemple #1
0
 public void Save(global::System.IO.Stream stream, bool append, bool allBits)
 {
     if (!append)
     {
         stream.Flush();
     }
     stream.Write(Content, 0, allBits ? _capacity : _offset);
 }
Exemple #2
0
 private static void Flush13(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj)
 {
     // ()V
     // ()V
     global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
     try {
         global::System.IO.Stream @__real = global::net.sf.jni4net.utils.Convertor.StrongJp2C <global::System.IO.Stream>(@__env, @__obj);
         @__real.Flush();
     }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); }
 }