abstract class AbstractByteWriter extends ByteWriter
An abstract implementation that implements the floating point methods in terms of integer methods.
- Alphabetic
- By Inheritance
- AbstractByteWriter
- ByteWriter
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AbstractByteWriter()
Abstract Value Members
- abstract def writeByte(b: Int): AbstractByteWriter.this.type
Write 8 bits of
b
.Write 8 bits of
b
. The remaining 24 bits are ignored.- Definition Classes
- ByteWriter
- abstract def writeBytes(buf: Buf): AbstractByteWriter.this.type
Write all the bytes from
buf
into the running buffer.Write all the bytes from
buf
into the running buffer.- Definition Classes
- ByteWriter
- abstract def writeBytes(bs: Array[Byte]): AbstractByteWriter.this.type
Write all the bytes from
bs
into the running buffer.Write all the bytes from
bs
into the running buffer.- Definition Classes
- ByteWriter
- abstract def writeIntBE(i: Long): AbstractByteWriter.this.type
Write 32 bits from
i
in big-endian order.Write 32 bits from
i
in big-endian order.- Definition Classes
- ByteWriter
- abstract def writeIntLE(i: Long): AbstractByteWriter.this.type
Write 32 bits from
i
in little-endian order.Write 32 bits from
i
in little-endian order.- Definition Classes
- ByteWriter
- abstract def writeLongBE(l: Long): AbstractByteWriter.this.type
Write 64 bits from
l
in big-endian order.Write 64 bits from
l
in big-endian order.- Definition Classes
- ByteWriter
- abstract def writeLongLE(l: Long): AbstractByteWriter.this.type
Write 64 bits from
l
in little-endian order.Write 64 bits from
l
in little-endian order.- Definition Classes
- ByteWriter
- abstract def writeMediumBE(m: Int): AbstractByteWriter.this.type
Write 24 bits from
m
in big-endian order.Write 24 bits from
m
in big-endian order. The remaining 8 bits are ignored.- Definition Classes
- ByteWriter
- abstract def writeMediumLE(m: Int): AbstractByteWriter.this.type
Write 24 bits from
m
in little-endian order.Write 24 bits from
m
in little-endian order. The remaining 8 bits are ignored.- Definition Classes
- ByteWriter
- abstract def writeShortBE(s: Int): AbstractByteWriter.this.type
Write 16 bits from
s
in big-endian order.Write 16 bits from
s
in big-endian order. The remaining 16 bits are ignored.- Definition Classes
- ByteWriter
- abstract def writeShortLE(s: Int): AbstractByteWriter.this.type
Write 16 bits from
s
in little-endian order.Write 16 bits from
s
in little-endian order. The remaining 16 bits are ignored.- Definition Classes
- ByteWriter
- abstract def writeString(string: CharSequence, charset: Charset): AbstractByteWriter.this.type
Write the byte representation of
string
, encoded using the specifiedCharset
into the running buffer.Write the byte representation of
string
, encoded using the specifiedCharset
into the running buffer.- Definition Classes
- ByteWriter
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def writeDoubleBE(d: Double): AbstractByteWriter.this.type
Write 64 bits from
d
in big-endian order.Write 64 bits from
d
in big-endian order.- Definition Classes
- AbstractByteWriter → ByteWriter
- def writeDoubleLE(d: Double): AbstractByteWriter.this.type
Write 64 bits from
d
in little-endian order.Write 64 bits from
d
in little-endian order.- Definition Classes
- AbstractByteWriter → ByteWriter
- def writeFloatBE(f: Float): AbstractByteWriter.this.type
Write 32 bits from
f
in big-endian order.Write 32 bits from
f
in big-endian order.- Definition Classes
- AbstractByteWriter → ByteWriter
- def writeFloatLE(f: Float): AbstractByteWriter.this.type
Write 32 bits from
f
in little-endian order.Write 32 bits from
f
in little-endian order.- Definition Classes
- AbstractByteWriter → ByteWriter