ber.go
func parseBase128Int(bytes []byte, initOffset int) (ret, offset int, err error) {
	ret, offset, err = _parseBase128Int(bytes, initOffset)

	if offset-initOffset >= 4 {
		err = asn1.StructuralError{Msg: "base 128 integer too large"}
		return
	}

	return
}
func parseBase128Int(bytes []byte, initOffset int) (ret, offset int, err error) {
	ret, offset, err = _parseBase128Int(bytes, initOffset)

	if offset-initOffset >= 4 {
		err = asn1.StructuralError{Msg: "base 128 integer too large"}
		return
	}

	return
}
// parseBase128Int parses a base-128 encoded int from the given offset in the
// given byte slice. It returns the value and the new offset.