FormatWriteLengthExceptionMessage() 공개 정적인 메소드

public static FormatWriteLengthExceptionMessage ( object sender, uint start, uint end, uint length ) : string
sender object
start uint
end uint
length uint
리턴 string
예제 #1
0
        private ApplicationException testLengthCheck(object sender, BinaryEndianWriter bw)
        {
            uint len = this.Length;

            if (this.StreamPos(bw.BaseStream) - _lengthCheckStart != len)
            {
                return(new ApplicationException(QbFile.FormatWriteLengthExceptionMessage(sender, _lengthCheckStart, this.StreamPos(bw.BaseStream), len)));
            }
            else
            {
                return(null);
            }
        }