Searched refs:CreateWithLimits (Results 1 – 2 of 2) sorted by relevance
323 …CodedInputStream input = CodedInputStream.CreateWithLimits(new MemoryStream(data64.ToByteArray()),… in MaliciousRecursion()333 CodedInputStream input = CodedInputStream.CreateWithLimits(ms, 16, 100); in SizeLimit()572 … Assert.Throws<ArgumentOutOfRangeException>(() => CodedInputStream.CreateWithLimits(stream, 0, 1)); in CreateWithLimits_InvalidLimits()573 … Assert.Throws<ArgumentOutOfRangeException>(() => CodedInputStream.CreateWithLimits(stream, 1, 0)); in CreateWithLimits_InvalidLimits()
218 … public static CodedInputStream CreateWithLimits(Stream input, int sizeLimit, int recursionLimit) in CreateWithLimits() method in Google.Protobuf.CodedInputStream