def fromStorageRepresentation[Offset, Inner]()

in core/src/main/scala/org/apache/pekko/projection/internal/OffsetSerialization.scala [58:69]


  def fromStorageRepresentation[Offset, Inner](rep: StorageRepresentation): Offset = {
    val offset: Offset = rep match {
      case SingleOffset(_, manifest, offsetStr, _) => fromStorageRepresentation[Offset](offsetStr, manifest)
      case MultipleOffsets(reps) =>
        val offsets: Map[String, Inner] = reps.map {
          case SingleOffset(id, manifest, offsetStr, _) =>
            id.key -> fromStorageRepresentation[Inner](offsetStr, manifest)
        }.toMap
        MergeableOffset[Inner](offsets).asInstanceOf[Offset]
    }
    offset
  }