public int pushLimit(int paramInt) throws InvalidProtocolBufferNanoException { if (paramInt < 0) throw InvalidProtocolBufferNanoException.negativeSize(); paramInt += bufferPos; int i = currentLimit; if (paramInt > i) throw InvalidProtocolBufferNanoException.truncatedMessage(); currentLimit = paramInt; recomputeBufferSizeAfterLimit(); return i; }
public void popLimit(int paramInt) { currentLimit = paramInt; recomputeBufferSizeAfterLimit(); }