public static FormatWriteLengthExceptionMessage ( object sender, uint start, uint end, uint length ) : string | ||
sender | object | |
start | uint | |
end | uint | |
length | uint | |
return | string |
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); } }