c

laserdisc.protocol

LenientStringCodec

final class LenientStringCodec extends Codec[String]

Source
LenientStringCodec.scala
Linear Supertypes
Codec[String], GenCodec[String, String], Decoder[String], Encoder[String], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LenientStringCodec
  2. Codec
  3. GenCodec
  4. Decoder
  5. Encoder
  6. AnyRef
  7. Any
Implicitly
  1. by TransformSyntax
  2. by Tuple2CodecSupport
  3. by EnrichedCoproductEncoder
  4. by ValueCodecEnrichedWithGenericSupport
  5. by ValueCodecEnrichedWithHListSupport
  6. by any2stringadd
  7. by StringFormat
  8. by Ensuring
  9. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LenientStringCodec(charset: Charset)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to any2stringadd[LenientStringCodec] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (LenientStringCodec, B)
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to ArrowAssoc[LenientStringCodec] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def :+:[B](left: Codec[B]): CoproductCodecBuilder[:+:[B, :+:[String, CNil]], ::[Codec[B], ::[Codec[String], HNil]], :+:[B, :+:[String, CNil]]]
    Definition Classes
    Codec
  6. def ::[B](codecB: Codec[B]): Codec[::[B, ::[String, HNil]]]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to ValueCodecEnrichedWithHListSupport[String] performed by method ValueCodecEnrichedWithHListSupport in scodec.
    Definition Classes
    ValueCodecEnrichedWithHListSupport
  7. def :~>:[B](codecB: Codec[B])(implicit ev: =:=[Unit, B]): Codec[::[String, HNil]]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to ValueCodecEnrichedWithHListSupport[String] performed by method ValueCodecEnrichedWithHListSupport in scodec.
    Definition Classes
    ValueCodecEnrichedWithHListSupport
  8. final def <~[B](codecB: Codec[B])(implicit ev: =:=[Unit, B]): Codec[String]
    Definition Classes
    Codec
  9. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def >>:~[L <: HList](f: (String) ⇒ Codec[L]): Codec[::[String, L]]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to ValueCodecEnrichedWithHListSupport[String] performed by method ValueCodecEnrichedWithHListSupport in scodec.
    Definition Classes
    ValueCodecEnrichedWithHListSupport
  11. final def >>~[B](f: (String) ⇒ Codec[B]): Codec[(String, B)]
    Definition Classes
    Codec
  12. def as[B](implicit as: Transformer[String, B]): Codec[B]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to TransformSyntax[Codec, String] performed by method TransformSyntax in scodec.
    Definition Classes
    TransformSyntax
  13. def asDecoder: Decoder[String]
    Definition Classes
    Decoder
  14. def asEncoder: Encoder[String]
    Definition Classes
    Encoder
  15. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  16. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  17. final def compact: Codec[String]
    Definition Classes
    Codec → GenCodec → Encoder
  18. final def complete: Codec[String]
    Definition Classes
    Codec → GenCodec → Decoder
  19. final def consume[B](f: (String) ⇒ Codec[B])(g: (B) ⇒ String): Codec[B]
    Definition Classes
    Codec
  20. def contramap[C](f: (C) ⇒ String): GenCodec[C, String]
    Definition Classes
    GenCodec → Encoder
  21. def decode(bits: BitVector): Attempt[DecodeResult[String]]
    Definition Classes
    LenientStringCodec → Decoder
  22. def decodeOnly[AA >: String]: Codec[AA]
    Definition Classes
    Codec → Decoder
  23. final def decodeValue(bits: BitVector): Attempt[String]
    Definition Classes
    Decoder
  24. final def downcast[B <: String](implicit tb: Typeable[B]): Codec[B]
    Definition Classes
    Codec
  25. final def dropLeft[B](codecB: Codec[B])(implicit ev: =:=[Unit, String]): Codec[B]
    Definition Classes
    Codec
  26. final def dropRight[B](codecB: Codec[B])(implicit ev: =:=[Unit, B]): Codec[String]
    Definition Classes
    Codec
  27. def econtramap[C](f: (C) ⇒ Attempt[String]): GenCodec[C, String]
    Definition Classes
    GenCodec → Encoder
  28. def emap[C](f: (String) ⇒ Attempt[C]): GenCodec[String, C]
    Definition Classes
    GenCodec → Decoder
  29. def encode(str: String): Attempt[BitVector]
    Definition Classes
    LenientStringCodec → Encoder
  30. def encodeOnly: Codec[String]
    Definition Classes
    Encoder
  31. def ensuring(cond: (LenientStringCodec) ⇒ Boolean, msg: ⇒ Any): LenientStringCodec
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to Ensuring[LenientStringCodec] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  32. def ensuring(cond: (LenientStringCodec) ⇒ Boolean): LenientStringCodec
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to Ensuring[LenientStringCodec] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  33. def ensuring(cond: Boolean, msg: ⇒ Any): LenientStringCodec
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to Ensuring[LenientStringCodec] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  34. def ensuring(cond: Boolean): LenientStringCodec
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to Ensuring[LenientStringCodec] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  35. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  37. final def exmap[B](f: (String) ⇒ Attempt[B], g: (B) ⇒ Attempt[String]): Codec[B]
    Definition Classes
    Codec
  38. def exmapc[B](f: (String) ⇒ Attempt[B])(g: (B) ⇒ Attempt[String]): Codec[B]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to TransformSyntax[Codec, String] performed by method TransformSyntax in scodec.
    Definition Classes
    TransformSyntax
  39. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  40. def flatMap[B](f: (String) ⇒ Decoder[B]): Decoder[B]
    Definition Classes
    Decoder
  41. def flatPrepend[L <: HList](f: (String) ⇒ Codec[L]): Codec[::[String, L]]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to ValueCodecEnrichedWithHListSupport[String] performed by method ValueCodecEnrichedWithHListSupport in scodec.
    Definition Classes
    ValueCodecEnrichedWithHListSupport
  42. final def flatZip[B](f: (String) ⇒ Codec[B]): Codec[(String, B)]
    Definition Classes
    Codec
  43. def flatZipHList[B](f: (String) ⇒ Codec[B]): Codec[::[String, ::[B, HNil]]]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to ValueCodecEnrichedWithHListSupport[String] performed by method ValueCodecEnrichedWithHListSupport in scodec.
    Definition Classes
    ValueCodecEnrichedWithHListSupport
  44. final def flattenLeftPairs(implicit f: FlattenLeftPairs[String]): Codec[Out]
    Definition Classes
    Codec
  45. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to StringFormat[LenientStringCodec] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  46. final def fuse[AA <: String, BB >: String](implicit ev: =:=[BB, AA]): Codec[BB]
    Definition Classes
    GenCodec
  47. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  48. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  49. final def hlist: Codec[::[String, HNil]]
    Definition Classes
    Codec
  50. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  51. def map[C](f: (String) ⇒ C): GenCodec[String, C]
    Definition Classes
    GenCodec → Decoder
  52. final def narrow[B](f: (String) ⇒ Attempt[B], g: (B) ⇒ String): Codec[B]
    Definition Classes
    Codec
  53. def narrowc[B](f: (String) ⇒ Attempt[B])(g: (B) ⇒ String): Codec[B]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to TransformSyntax[Codec, String] performed by method TransformSyntax in scodec.
    Definition Classes
    TransformSyntax
  54. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  55. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  56. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  57. final def pairedWith[B](codecB: Codec[B]): Codec[(String, B)]
    Definition Classes
    Codec
  58. def pcontramap[C](f: (C) ⇒ Option[String]): GenCodec[C, String]
    Definition Classes
    GenCodec → Encoder
  59. def polyxmap[B](p: Poly, q: Poly)(implicit aToB: Aux[p.type, ::[String, HNil], B], bToA: Aux[q.type, ::[B, HNil], String]): Codec[B]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to ValueCodecEnrichedWithGenericSupport[String] performed by method ValueCodecEnrichedWithGenericSupport in scodec.
    Definition Classes
    ValueCodecEnrichedWithGenericSupport
  60. def polyxmap1[B](p: Poly)(implicit aToB: Aux[p.type, ::[String, HNil], B], bToA: Aux[p.type, ::[B, HNil], String]): Codec[B]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to ValueCodecEnrichedWithGenericSupport[String] performed by method ValueCodecEnrichedWithGenericSupport in scodec.
    Definition Classes
    ValueCodecEnrichedWithGenericSupport
  61. def selectEncoder[A](implicit inj: Inject[Coproduct with String, A]): Encoder[A]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to EnrichedCoproductEncoder[Coproduct with String] performed by method EnrichedCoproductEncoder in scodec.
    Definition Classes
    EnrichedCoproductEncoder
  62. def sizeBound: SizeBound
    Definition Classes
    LenientStringCodec → Encoder
  63. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  64. def toField[K]: Codec[FieldType[K, String]]
    Definition Classes
    Codec
  65. def toFieldWithContext[K <: Symbol](k: K): Codec[FieldType[K, String]]
    Definition Classes
    Codec
  66. def toString(): String
    Definition Classes
    LenientStringCodec → AnyRef → Any
  67. final def unit(zero: String): Codec[Unit]
    Definition Classes
    Codec
  68. final def upcast[B >: String](implicit ta: Typeable[String]): Codec[B]
    Definition Classes
    Codec
  69. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  70. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  72. final def widen[B](f: (String) ⇒ B, g: (B) ⇒ Attempt[String]): Codec[B]
    Definition Classes
    Codec
  73. def widenOpt[B](f: (String) ⇒ B, g: (B) ⇒ Option[String]): Codec[B]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to TransformSyntax[Codec, String] performed by method TransformSyntax in scodec.
    Definition Classes
    TransformSyntax
  74. def widenOptc[B](f: (String) ⇒ B)(g: (B) ⇒ Option[String]): Codec[B]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to TransformSyntax[Codec, String] performed by method TransformSyntax in scodec.
    Definition Classes
    TransformSyntax
  75. def widenc[B](f: (String) ⇒ B)(g: (B) ⇒ Attempt[String]): Codec[B]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to TransformSyntax[Codec, String] performed by method TransformSyntax in scodec.
    Definition Classes
    TransformSyntax
  76. final def withContext(context: String): Codec[String]
    Definition Classes
    Codec
  77. final def withToString(str: ⇒ String): Codec[String]
    Definition Classes
    Codec
  78. final def xmap[B](f: (String) ⇒ B, g: (B) ⇒ String): Codec[B]
    Definition Classes
    Codec
  79. def xmapc[B](f: (String) ⇒ B)(g: (B) ⇒ String): Codec[B]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to TransformSyntax[Codec, String] performed by method TransformSyntax in scodec.
    Definition Classes
    TransformSyntax
  80. final def ~[B](codecB: Codec[B]): Codec[(String, B)]
    Definition Classes
    Codec
  81. final def ~>[B](codecB: Codec[B])(implicit ev: =:=[Unit, String]): Codec[B]
    Definition Classes
    Codec
  82. def ~~[B](B: Codec[B]): TupleCodec[String, B]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to Tuple2CodecSupport[String] performed by method Tuple2CodecSupport in scodec.
    Definition Classes
    Tuple2CodecSupport
  83. def [B](y: B): (LenientStringCodec, B)
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to ArrowAssoc[LenientStringCodec] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def exmap[B](f: (String) ⇒ Attempt[B], g: (B) ⇒ Attempt[String]): Codec[B]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to TransformSyntax[Codec, String] performed by method TransformSyntax in scodec.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (lenientStringCodec: TransformSyntax[Codec, String]).exmap(f, g)
    Definition Classes
    TransformSyntax
  2. def narrow[B](f: (String) ⇒ Attempt[B], g: (B) ⇒ String): Codec[B]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to TransformSyntax[Codec, String] performed by method TransformSyntax in scodec.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (lenientStringCodec: TransformSyntax[Codec, String]).narrow(f, g)
    Definition Classes
    TransformSyntax
  3. val self: Codec[String]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to TransformSyntax[Codec, String] performed by method TransformSyntax in scodec.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (lenientStringCodec: TransformSyntax[Codec, String]).self
    Definition Classes
    TransformSyntax
  4. val self: Codec[String]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to Tuple2CodecSupport[String] performed by method Tuple2CodecSupport in scodec.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (lenientStringCodec: Tuple2CodecSupport[String]).self
    Definition Classes
    Tuple2CodecSupport
  5. val self: Encoder[Coproduct with String]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to EnrichedCoproductEncoder[Coproduct with String] performed by method EnrichedCoproductEncoder in scodec.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (lenientStringCodec: EnrichedCoproductEncoder[Coproduct with String]).self
    Definition Classes
    EnrichedCoproductEncoder
  6. val self: Codec[String]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to ValueCodecEnrichedWithGenericSupport[String] performed by method ValueCodecEnrichedWithGenericSupport in scodec.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (lenientStringCodec: ValueCodecEnrichedWithGenericSupport[String]).self
    Definition Classes
    ValueCodecEnrichedWithGenericSupport
  7. val self: Codec[String]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to ValueCodecEnrichedWithHListSupport[String] performed by method ValueCodecEnrichedWithHListSupport in scodec.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (lenientStringCodec: ValueCodecEnrichedWithHListSupport[String]).self
    Definition Classes
    ValueCodecEnrichedWithHListSupport
  8. def widen[B](f: (String) ⇒ B, g: (B) ⇒ Attempt[String]): Codec[B]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to TransformSyntax[Codec, String] performed by method TransformSyntax in scodec.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (lenientStringCodec: TransformSyntax[Codec, String]).widen(f, g)
    Definition Classes
    TransformSyntax
  9. def xmap[B](f: (String) ⇒ B, g: (B) ⇒ String): Codec[B]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to TransformSyntax[Codec, String] performed by method TransformSyntax in scodec.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (lenientStringCodec: TransformSyntax[Codec, String]).xmap(f, g)
    Definition Classes
    TransformSyntax

Deprecated Value Members

  1. def pxmap[B](f: (String) ⇒ B, g: (B) ⇒ Option[String]): Codec[B]
    Implicit
    This member is added by an implicit conversion from LenientStringCodec to TransformSyntax[Codec, String] performed by method TransformSyntax in scodec.
    Definition Classes
    TransformSyntax
    Annotations
    @deprecated
    Deprecated

    (Since version 1.7.0) Use widenOpt instead

Inherited from Codec[String]

Inherited from GenCodec[String, String]

Inherited from Decoder[String]

Inherited from Encoder[String]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion TransformSyntax from LenientStringCodec to TransformSyntax[Codec, String]

Inherited by implicit conversion Tuple2CodecSupport from LenientStringCodec to Tuple2CodecSupport[String]

Inherited by implicit conversion EnrichedCoproductEncoder from LenientStringCodec to EnrichedCoproductEncoder[Coproduct with String]

Inherited by implicit conversion ValueCodecEnrichedWithGenericSupport from LenientStringCodec to ValueCodecEnrichedWithGenericSupport[String]

Inherited by implicit conversion ValueCodecEnrichedWithHListSupport from LenientStringCodec to ValueCodecEnrichedWithHListSupport[String]

Inherited by implicit conversion any2stringadd from LenientStringCodec to any2stringadd[LenientStringCodec]

Inherited by implicit conversion StringFormat from LenientStringCodec to StringFormat[LenientStringCodec]

Inherited by implicit conversion Ensuring from LenientStringCodec to Ensuring[LenientStringCodec]

Inherited by implicit conversion ArrowAssoc from LenientStringCodec to ArrowAssoc[LenientStringCodec]

Ungrouped