ADBaseLibrary.Matroska.MatroskaExtensions.GenIo C# (CSharp) 메소드

GenIo() 개인적인 정적인 메소드

private static GenIo ( string message, BinaryReader stream ) : IOException
message string
stream BinaryReader
리턴 IOException
        private static IOException GenIo(string message, BinaryReader stream, params object[] pars)
        {
            long pos = stream.BaseStream.Position;
            object[] obj = new object[pars.Length + 1];
            Array.Copy(pars,0,obj,1,pars.Length);
            obj[0] = pos;
            return new IOException(string.Format(message,obj));
        }