class

Crowbar::Rules::VarintRule

Inherits Crowbar::Rule < Reference < Object

Structure-preserving rule for LEB128 / Protocol Buffers 7-bit continuation bit varints. Parses variable-length integers, mutating values to boundary limits, injecting overlong canonical violations, or testing continuation bit edge cases.

Instance methods

apply(context : Context, buffer : Buffer) : Bool

Applies a structure-preserving transformation to the buffer

Source
description
Source
match?(buffer : Buffer) : Bool

Checks whether the buffer matches the format handled by this rule

Source
name
Source

Nested types