libp2p/transcoder

Search:
Group by:
Source   Edit  

This module implements transcoder interface.

Types

Transcoder = object
  stringToBuffer*: proc (s: string; vb: var VBuffer): bool {.nimcall, ...gcsafe,
      noSideEffect, ...raises: [].}
  bufferToString*: proc (vb: var VBuffer; s: var string): bool {.nimcall,
      ...gcsafe, noSideEffect, ...raises: [].}
  validateBuffer*: proc (vb: var VBuffer): bool {.nimcall, ...gcsafe, noSideEffect,
      ...raises: [].}
Source   Edit