final class Writer extends AnyRef

Stateful, mutable abstraction for writing a stream of CBOR or JSON data to the given Output.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Writer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Writer(output: Output, receiver: Receiver, target: Target, config: Config)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. val output: Output
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. val target: Target
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. def write[T](value: T)(implicit encoder: Encoder[T]): Writer.this.type
    Annotations
    @inline()
  22. def writeArrayClose(): Writer.this.type
  23. def writeArrayHeader(length: Long): Writer.this.type
    Annotations
    @inline()
  24. def writeArrayHeader(length: Int): Writer.this.type
    Annotations
    @inline()
  25. def writeArrayOpen(size: Int): Writer.this.type
  26. def writeArrayStart(): Writer.this.type
    Annotations
    @inline()
  27. def writeBoolean(value: Boolean): Writer.this.type
    Annotations
    @inline()
  28. def writeBreak(): Writer.this.type
    Annotations
    @inline()
  29. def writeByte(value: Byte): Writer.this.type
    Annotations
    @inline()
  30. def writeBytes[Bytes](value: Bytes)(implicit arg0: ByteAccess[Bytes]): Writer.this.type
  31. def writeBytesIterator[Bytes](iterator: Iterator[Bytes])(implicit arg0: ByteAccess[Bytes]): Writer.this.type
  32. def writeBytesStart(): Writer.this.type
  33. def writeChar(value: Char): Writer.this.type
    Annotations
    @inline()
  34. def writeChars(value: Array[Char]): Writer.this.type
    Annotations
    @inline()
  35. def writeDouble(value: Double): Writer.this.type
  36. def writeEmptyArray(): Writer.this.type
  37. def writeEmptyMap(): Writer.this.type
  38. def writeEndOfInput(): Writer.this.type
    Annotations
    @inline()
  39. def writeFloat(value: Float): Writer.this.type
  40. def writeFloat16(value: Float): Writer.this.type
  41. def writeIndexedSeq[T](x: IndexedSeq[T])(implicit arg0: Encoder[T]): Writer.this.type
  42. def writeInt(value: Int): Writer.this.type
    Annotations
    @inline()
  43. def writeIterableOnce[T](iterableOnce: XIterableOnce[T])(implicit arg0: Encoder[T]): Writer.this.type
  44. def writeIterator[T](iterator: Iterator[T])(implicit arg0: Encoder[T]): Writer.this.type
  45. def writeLinearSeq[T](x: LinearSeq[T])(implicit arg0: Encoder[T]): Writer.this.type
  46. def writeLong(value: Long): Writer.this.type
    Annotations
    @inline()
  47. def writeMap[A, B](x: Map[A, B])(implicit arg0: Encoder[A], arg1: Encoder[B]): Writer.this.type
  48. def writeMapClose(): Writer.this.type
  49. def writeMapHeader(length: Long): Writer.this.type
    Annotations
    @inline()
  50. def writeMapHeader(length: Int): Writer.this.type
    Annotations
    @inline()
  51. def writeMapOpen(size: Int): Writer.this.type
  52. def writeMapStart(): Writer.this.type
    Annotations
    @inline()
  53. def writeNull(): Writer.this.type
  54. def writeNumberString(value: String): Writer.this.type
  55. def writeOverLong(negative: Boolean, value: Long): Writer.this.type
  56. def writeShort(value: Short): Writer.this.type
    Annotations
    @inline()
  57. def writeSimpleValue(value: Int): Writer.this.type
  58. def writeString(value: String): Writer.this.type
    Annotations
    @inline()
  59. def writeStringIterator(iterator: Iterator[String]): Writer.this.type
  60. def writeTag(value: Tag): Writer.this.type
  61. def writeText[Bytes](value: Bytes)(implicit arg0: ByteAccess[Bytes]): Writer.this.type
  62. def writeTextStart(): Writer.this.type
  63. def writeToArray[A, B, C](a: A, b: B, c: C)(implicit arg0: Encoder[A], arg1: Encoder[B], arg2: Encoder[C]): Writer.this.type
  64. def writeToArray[A, B](a: A, b: B)(implicit arg0: Encoder[A], arg1: Encoder[B]): Writer.this.type
  65. def writeToArray[T](x: T)(implicit arg0: Encoder[T]): Writer.this.type
  66. def writeUndefined(): Writer.this.type
  67. def writingCbor: Boolean
    Annotations
    @inline()
  68. def writingJson: Boolean
    Annotations
    @inline()
  69. def ~[T](value: T)(implicit arg0: Encoder[T]): Writer.this.type
    Annotations
    @inline()
  70. def ~(value: String): Writer.this.type
    Annotations
    @inline()
  71. def ~(value: Double): Writer.this.type
    Annotations
    @inline()
  72. def ~(value: Float): Writer.this.type
    Annotations
    @inline()
  73. def ~(value: Long): Writer.this.type
    Annotations
    @inline()
  74. def ~(value: Int): Writer.this.type
    Annotations
    @inline()
  75. def ~(value: Short): Writer.this.type
    Annotations
    @inline()
  76. def ~(value: Byte): Writer.this.type
    Annotations
    @inline()
  77. def ~(value: Char): Writer.this.type
    Annotations
    @inline()
  78. def ~(value: Boolean): Writer.this.type
    Annotations
    @inline()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped