package hextable
Import Path
go.opentelemetry.io/otel/propagation/internal/hextable (on go.dev)
Dependency Relation
imports 0 packages, and imported by one package
Involved Source Files
Package hextable provides a lookup table for decoding lowercase
hexadecimal.
Package-Level Constants (only one)
Rev is a reverse hex lookup table for lowercase hex digits. Valid
hexadecimal characters are indexed at their respective values. All other
characters, including the upper-case A-F disallowed by the W3C trace
context specification, are represented with '\xff'.
The '\xff' character is used as invalid because no valid character has the
upper 4 bits set. Meaning, an efficient validation can be performed over
multiple character parsing by checking these bits remain zero.
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |