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 ¶
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.
Click to show internal directories.
Click to hide internal directories.