class MysqlBufReader extends ProxyByteReader
A ByteReader
specialized for dealing with MySQL protocol messages.
- Alphabetic
- By Inheritance
- MysqlBufReader
- ProxyByteReader
- ByteReader
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new MysqlBufReader(underlying: ByteReader)
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()
- def close(): Unit
- Definition Classes
- ProxyByteReader → AutoCloseable
- 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()
- def process(processor: Processor): Int
- Definition Classes
- ProxyByteReader → ByteReader
- def process(from: Int, until: Int, processor: Processor): Int
- Definition Classes
- ProxyByteReader → ByteReader
- def readAll(): Buf
- Definition Classes
- ProxyByteReader → ByteReader
- def readByte(): Byte
- Definition Classes
- ProxyByteReader → ByteReader
- def readBytes(n: Int): Buf
- Definition Classes
- ProxyByteReader → ByteReader
- def readDoubleBE(): Double
- Definition Classes
- ProxyByteReader → ByteReader
- def readDoubleLE(): Double
- Definition Classes
- ProxyByteReader → ByteReader
- def readFloatBE(): Float
- Definition Classes
- ProxyByteReader → ByteReader
- def readFloatLE(): Float
- Definition Classes
- ProxyByteReader → ByteReader
- def readIntBE(): Int
- Definition Classes
- ProxyByteReader → ByteReader
- def readIntLE(): Int
- Definition Classes
- ProxyByteReader → ByteReader
- def readLengthCodedBytes(): Array[Byte]
Reads a length encoded set of bytes according to the MySQL Client/Server protocol.
Reads a length encoded set of bytes according to the MySQL Client/Server protocol. This is identical to a length coded string except the bytes are returned raw.
- returns
Array[Byte] if length is non-null, or null otherwise.
- def readLengthCodedString(charset: Charset): String
Reads a length encoded string according to the MySQL Client/Server protocol.
Reads a length encoded string according to the MySQL Client/Server protocol. Uses
charset
to decode the string. For more details refer to MySQL documentation.- returns
a MySQL length coded String starting at offset.
- def readLongBE(): Long
- Definition Classes
- ProxyByteReader → ByteReader
- def readLongLE(): Long
- Definition Classes
- ProxyByteReader → ByteReader
- def readMediumBE(): Int
- Definition Classes
- ProxyByteReader → ByteReader
- def readMediumLE(): Int
- Definition Classes
- ProxyByteReader → ByteReader
- def readNullTerminatedBytes(): Array[Byte]
Reads bytes until a null byte is encountered
- def readNullTerminatedString(): String
Reads a null-terminated UTF-8 encoded string
- def readShortBE(): Short
- Definition Classes
- ProxyByteReader → ByteReader
- def readShortLE(): Short
- Definition Classes
- ProxyByteReader → ByteReader
- def readString(bytes: Int, charset: Charset): String
- Definition Classes
- ProxyByteReader → ByteReader
- def readUnsignedByte(): Short
- Definition Classes
- ProxyByteReader → ByteReader
- def readUnsignedIntBE(): Long
- Definition Classes
- ProxyByteReader → ByteReader
- def readUnsignedIntLE(): Long
- Definition Classes
- ProxyByteReader → ByteReader
- def readUnsignedLongBE(): BigInt
- Definition Classes
- ProxyByteReader → ByteReader
- def readUnsignedLongLE(): BigInt
- Definition Classes
- ProxyByteReader → ByteReader
- def readUnsignedMediumBE(): Int
- Definition Classes
- ProxyByteReader → ByteReader
- def readUnsignedMediumLE(): Int
- Definition Classes
- ProxyByteReader → ByteReader
- def readUnsignedShortBE(): Int
- Definition Classes
- ProxyByteReader → ByteReader
- def readUnsignedShortLE(): Int
- Definition Classes
- ProxyByteReader → ByteReader
- def readVariableLong(): Long
Reads a variable-length numeric value.
Reads a variable-length numeric value. Depending on the first byte, reads a different width from the buffer. For more info, refer to MySQL Client/Server protocol documentation.
- returns
a numeric value representing the number of bytes expected to follow.
- def remaining: Int
- Definition Classes
- ProxyByteReader → ByteReader
- def remainingUntil(byte: Byte): Int
- Definition Classes
- ProxyByteReader → ByteReader
- def skip(n: Int): Unit
- Definition Classes
- ProxyByteReader → ByteReader
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def take(n: Int): Array[Byte]
Take
n
bytes as a byte array - 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()