Fan.Sys.FileBuf.getByte C# (CSharp) Method

getByte() private method

private getByte ( long pos ) : int
pos long
return int
        internal override int getByte(long pos)
        {
            try
              {
            long oldPos = m_stream.Position;
            m_stream.Position = pos;
            int b = m_stream.ReadByte();
            m_stream.Position = oldPos;
            return b;
              }
              catch (IOException e)
              {
            throw IOErr.make(e).val;
              }
        }