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

setByte() private method

private setByte ( long pos, int x ) : void
pos long
x int
return void
        internal override void setByte(long pos, int x)
        {
            try
              {
            long oldPos = m_stream.Position;
            m_stream.Position = pos;
            m_stream.WriteByte((byte)x);
            m_stream.Position = oldPos;
              }
              catch (IOException e)
              {
            throw IOErr.make(e).val;
              }
        }