Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrStrEmpty = errors.New("string empty") ErrOverflow = errors.New("hex value overflows unsigned 64-bit integer") ErrSyntax = errors.New("string contains invalid characters") )
Error types
Functions ¶
func ReadUint64 ¶
ReadUint64 decodes a lower-case hex value to an unsigned 64-bit integer
func WriteUint64 ¶
func WriteUint64(ctx *fasthttp.RequestCtx, num uint64) (int, error)
WriteUint64 writes the given integer as short-lower-hex directly to the given request context to avoid indirect calls which not only incur overhead but also cause unnecessary allocations due to escape analysis
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.