chickadee » protobuf » read-sint*

(read-sint* [PORT] [MAX-SIZE])procedure

Reads a variable length base 128 zig-zag-encoded signed integer from PORT (defaulting to (current-input-port)). Stops with a syntax error if the encoding is longer than MAX-SIZE bytes (defaulting to 10); pass #f to disable the length check.