getPos() private method

private getPos ( ) : long
return long
Example #1
0
 public override InStream unread(int n)
 {
     try
     {
         long pos = p.getPos();
         p.m_stream.Position = pos - 1;
         p.m_stream.WriteByte((byte)n);
         p.m_stream.Position = pos - 1;
         return(this);
     }
     catch (IOException e)
     {
         throw IOErr.make(e).val;
     }
 }