customcodec

package
v0.33.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package customcodec illustrates how to implement a runtime.Consumer for a custom wire format. Uint32Consumer decodes a single big-endian 32-bit unsigned integer from the request body into a *uint32 target.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Uint32Consumer

func Uint32Consumer() runtime.Consumer

Uint32Consumer returns a runtime.Consumer that reads a single big-endian uint32 from r and stores it at v (which must be a *uint32).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL