@blockchaincommons/dcbor-parse - v1.0.0-beta.3
    Preparing search index...

    Function spanToByteOffsets

    • Converts a span's UTF-16 offsets to UTF-8 byte offsets (the reference implementation's unit).

      Parameters

      • source: string
      • span: Span

      Returns Span