Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BufferStrategy

Hierarchy

  • BufferStrategy

Index

Constructors

constructor

Properties

Static strategies

strategies: StrategyBase<any>[] = ...
internal

Methods

Static add

Static decode

Static encode

Static getTemplateStrategy

  • Retrieves a strategy for encoding and decoding the value

    throws

    {Error} When strategy for provided template is not found

    Parameters

    Returns StrategyBase<any>

    Template codec strategy

Static getTypeOptions

  • getTypeOptions(type: string): BufferTypeOptions & {}
  • Gets options from provided value type

    throws

    {Error} When type is not provided

    Parameters

    • type: string

      Value type

    Returns BufferTypeOptions & {}

    Type options

Generated using TypeDoc