All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fmq.options.Identity.scala Maven / Gradle / Ivy

The newest version!
package io.fmq.options

import java.nio.charset.StandardCharsets

@SuppressWarnings(Array("org.wartremover.warts.ArrayEquals"))
final case class Identity(value: Array[Byte])

object Identity {
  def utf8String(string: String): Identity = Identity(string.getBytes(StandardCharsets.UTF_8))
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy