setPos() private method

private setPos ( long x ) : void
x long
return void
Example #1
0
 public override Long peek()
 {
     try
     {
         long pos = p.getPos();
         int  n   = p.m_stream.ReadByte();
         p.setPos(pos);
         return(n < 0 ? null : Long.valueOf(n));
     }
     catch (IOException e)
     {
         throw IOErr.make(e).val;
     }
 }