Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

addResourceMetadata

  • Helper function to generate type quads for a Container or Resource.

    Parameters

    • metadata: RepresentationMetadata

      Metadata to add to.

    • isContainer: boolean

      If the identifier corresponds to a container.

    Returns void

    The generated quads.

cloneRepresentation

  • Helper function to clone a representation, the original representation can still be used. This function loads the entire stream in memory.

    Parameters

    Returns Promise<BasicRepresentation>

    The cloned representation.