Class RSTaggedData

RSTaggedData represents a piece of byte-encoded data with a mimetype.

Hierarchy

  • RSTaggedData

Constructors

Properties

Constructors

  • Construct an RSTaggedData

    Throws

    If either required parameter is null.

    Parameters

    • tag: string

      The mimetype for the data.

    • data: Uint8Array

      Arbitrary byte-encoded data.

    Returns RSTaggedData

Properties

data: Uint8Array

Arbitrary byte-encoded data.

tag: string

The mimetype associated with a piece of data.