src/hpack/utils

Procs

func strcmp(x, y: openArray[byte]): bool {.inline, ...raises: [], tags: [],
    forbids: [].}
func strcmp(x, y: openArray[byte]; xi, yi, xyLen: int): bool {.inline,
    ...raises: [], tags: [], forbids: [].}
func strcopy(x: var openArray[byte]; y: openArray[byte]; xi, yi, xyLen: int) {.
    inline, ...raises: [], tags: [], forbids: [].}
func toString(s: openArray[byte]): string {....raises: [], tags: [], forbids: [].}

Templates

template asBytes(s: openArray[char]): untyped {..}
template setLenUninit2(s, newlen: untyped): untyped {..}