libp2p/utility

    Dark Mode
Search:
Group by:
  Source   Edit

Procs

func shortLog(item: openArray[byte]): string {....raises: [], tags: [].}
  Source   Edit
func shortLog(item: string): string {....raises: [], tags: [].}
  Source   Edit

Templates

template compilesOr(a, b: untyped): untyped
  Source   Edit
template exceptionToAssert(body: untyped): untyped
  Source   Edit
template public() {.pragma.}
  Source   Edit
template safeConvert[T: SomeInteger; S: Ordinal](value: S): T
Converts value from S to T iff value is guaranteed to be preserved.   Source   Edit