InvalidProtocolBufferException.truncatedMessageDueToSizeLimit constructor

InvalidProtocolBufferException.truncatedMessageDueToSizeLimit(
  1. int originalSize,
  2. int truncatedSize
)

Implementation

InvalidProtocolBufferException.truncatedMessageDueToSizeLimit(
    int originalSize, int truncatedSize)
    : this._('''$_truncatedMessageText
Note that the buffer containing the message has $originalSize bytes, but
CodedBufferReader was allowed to parse only $truncatedSize bytes.
''');