Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a OTRuneTransformOp.

Hierarchy

  • OTRuneTransformOp

Implements

Index

Constructors

constructor

Properties

delete

delete: number

OTRuneTransformOp delete.

insert

insert: string

OTRuneTransformOp insert.

Optional op

op: undefined | "skip" | "delete" | "insert"

OTRuneTransformOp op.

skip

skip: number

OTRuneTransformOp skip.

Methods

toJSON

  • toJSON(): object
  • Converts this OTRuneTransformOp to JSON.

    Returns object

    JSON object

    • [k: string]: any

Static create

  • Creates a new OTRuneTransformOp instance using the specified properties.

    Parameters

    Returns OTRuneTransformOp

    OTRuneTransformOp instance

Static decode

  • decode(reader: Reader | Uint8Array, length?: undefined | number): OTRuneTransformOp
  • Decodes a OTRuneTransformOp message from the specified reader or buffer.

    throws

    {Error} If the payload is not a reader or valid buffer

    throws

    {$protobuf.util.ProtocolError} If required fields are missing

    Parameters

    • reader: Reader | Uint8Array

      Reader or buffer to decode from

    • Optional length: undefined | number

    Returns OTRuneTransformOp

    OTRuneTransformOp

Static decodeDelimited

  • Decodes a OTRuneTransformOp message from the specified reader or buffer, length delimited.

    throws

    {Error} If the payload is not a reader or valid buffer

    throws

    {$protobuf.util.ProtocolError} If required fields are missing

    Parameters

    • reader: Reader | Uint8Array

      Reader or buffer to decode from

    Returns OTRuneTransformOp

    OTRuneTransformOp

Static encode

  • Encodes the specified OTRuneTransformOp message. Does not implicitly verify messages.

    Parameters

    • message: IOTRuneTransformOp

      OTRuneTransformOp message or plain object to encode

    • Optional writer: $protobuf.Writer

    Returns Writer

    Writer

Static encodeDelimited

  • Encodes the specified OTRuneTransformOp message, length delimited. Does not implicitly verify messages.

    Parameters

    • message: IOTRuneTransformOp

      OTRuneTransformOp message or plain object to encode

    • Optional writer: $protobuf.Writer

    Returns Writer

    Writer

Static fromObject

  • Creates a OTRuneTransformOp message from a plain object. Also converts values to their respective internal types.

    Parameters

    • object: object

      Plain object

      • [k: string]: any

    Returns OTRuneTransformOp

    OTRuneTransformOp

Static toObject

  • toObject(message: OTRuneTransformOp, options?: $protobuf.IConversionOptions): object
  • Creates a plain object from a OTRuneTransformOp message. Also converts values to other types if specified.

    Parameters

    • message: OTRuneTransformOp

      OTRuneTransformOp

    • Optional options: $protobuf.IConversionOptions

    Returns object

    Plain object

    • [k: string]: any

Static verify

  • verify(message: object): null | string
  • Verifies a OTRuneTransformOp message.

    Parameters

    • message: object

      Plain object to verify

      • [k: string]: any

    Returns null | string

    null if valid, otherwise the reason why it is not

Generated using TypeDoc