package gendarme

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module type Gendarme.SSource

Encoder signature

include M
Sourcetype t

The internal encoder type

Sourceval unpack : target -> t

Unpack an internal value

Sourceval pack : t -> target

Pack an internal value

Sourceval marshal : ?v:'a -> 'a ty -> t

Marshal a value

Sourceval unmarshal : ?v:t -> 'a ty -> 'a

Unmarshal a value

The encoder type representation

Sourceval encode : ?v:'a -> 'a ty -> string

Encode a value into a string representation

Sourceval decode : ?v:string -> 'a ty -> 'a

Decode a value from its string representation

OCaml

Innovation. Community. Security.