Skip to main content

Module inspect

Module inspect 

Source
Expand description

Human-readable protobuf wire format inspection.

Since we don’t have access to .proto schemas at runtime, this module decodes raw protobuf bytes using the wire format specification. Each field is displayed with its field number, wire type, and value — giving developers meaningful insight into what is being sent over the wire.

Structs§

GrpcFrame
A decoded gRPC frame.
ProtoField
A single decoded protobuf field.

Enums§

ProtoValue
Represents a decoded protobuf value.
WireType
Wire types as defined by the protobuf encoding specification.

Functions§

decode_protobuf
Attempt to decode raw bytes as protobuf wire format fields.
format_grpc_message
Format gRPC request/response data into a human-readable string.
hex_dump
Format a byte slice as a hex dump suitable for debug logging.
parse_grpc_frames
Parse gRPC-encoded data into frames.