libp2p/transcoder

    Dark Mode
Search:
Group by:
  Source   Edit

Nim-Libp2p Copyright (c) 2018 Status Research & Development GmbH

Licensed under either of

at your option. This file may not be copied, modified, or distributed except according to those terms.

This module implements transcoder interface.

Types

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