pipeTo() абстрактный приватный Метод

abstract private pipeTo ( Stream dst, long len ) : void
dst Stream
len long
Результат void
Пример #1
0
 public override OutStream writeBuf(Buf other, long n)
 {
     try
     {
         other.pipeTo(p.m_stream, n);
         return(this);
     }
     catch (IOException e) { throw IOErr.make(e).val; }
     catch (System.NotSupportedException e) { throw IOErr.make(e.Message, e).val; }
 }
Пример #2
0
 public override OutStream writeBuf(Buf buf, long n)
 {
     try
     {
         buf.pipeTo(outStream, n);
         return(this);
     }
     catch (IOException e)
     {
         throw IOErr.make(e).val;
     }
 }
Пример #3
0
            public override OutStream writeBuf(Buf other, long n)
            {
                int len = (int)n;

                p.grow(p.m_pos + len);
                other.pipeTo(p.m_buf, p.m_pos, len);
                p.m_pos += len;
                if (p.m_pos > p.m_size)
                {
                    p.m_size = p.m_pos;
                }
                return(this);
            }
Пример #4
0
 public override OutStream writeBuf(Buf buf, long n)
 {
     try
       {
     buf.pipeTo(outStream, n);
     return this;
       }
       catch (IOException e)
       {
     throw IOErr.make(e).val;
       }
 }
Пример #5
0
 public override OutStream writeBuf(Buf other, long n)
 {
     int len = (int)n;
     p.grow(p.m_pos+len);
     other.pipeTo(p.m_buf, p.m_pos, len);
     p.m_pos += len;
     if (p.m_pos > p.m_size) p.m_size = p.m_pos;
     return this;
 }
Пример #6
0
 public override OutStream writeBuf(Buf other, long n)
 {
     try
     {
       other.pipeTo(p.m_stream, n);
       return this;
     }
     catch (IOException e) { throw IOErr.make(e).val; }
     catch (System.NotSupportedException e) { throw IOErr.make(e.Message, e).val; }
 }