Trait/Object

roc.postgresql.transport

BufferReader

Related Docs: object BufferReader | package transport

Permalink

trait BufferReader extends Buffer

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BufferReader
  2. Buffer
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def offset: Int

    Permalink

    Current reader offset in the buffer.

  2. abstract def readByte: Byte

    Permalink
  3. abstract def readDouble: Double

    Permalink
  4. abstract def readFloat: Float

    Permalink
  5. abstract def readInt: Int

    Permalink
  6. abstract def readInt24: Int

    Permalink
  7. abstract def readLong: Long

    Permalink
  8. abstract def readShort: Short

    Permalink
  9. abstract def readUnsignedByte: Short

    Permalink
  10. abstract def readUnsignedInt: Long

    Permalink
  11. abstract def readUnsignedInt24: Int

    Permalink
  12. abstract def readUnsignedShort: Int

    Permalink
  13. abstract def readable(width: Int): Boolean

    Permalink

    Denotes if the buffer is readable upto the given width based on the current offset.

  14. abstract def skip(n: Int): Unit

    Permalink

    Increases offset by n.

  15. abstract def take(n: Int): Array[Byte]

    Permalink

    Consumes n bytes in the buffer and returns them in a new Array.

    Consumes n bytes in the buffer and returns them in a new Array.

    returns

    An Array[Byte] containing bytes from offset to offset+n

  16. abstract def toString(start: Int, length: Int, charset: Charset): String

    Permalink

    Returns the bytes from start to start+length into a string using the given java.nio.charset.Charset.

  17. abstract val underlying: ChannelBuffer

    Permalink
    Definition Classes
    Buffer

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def capacity: Int

    Permalink
    Definition Classes
    Buffer
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. def readLengthCodedBinary: Long

    Permalink

    Reads a MySQL data field.

    Reads a MySQL data field. 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.

  17. def readLengthCodedString(charset: Charset = Charset.defaultCharset): String

    Permalink

    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.defaultCharset by default to decode strings. For more details refer to MySQL documentation.

    returns

    a MySQL length coded String starting at offset.

  18. def readNullTerminatedString(charset: Charset = Charset.defaultCharset): String

    Permalink

    Reads a null-terminated string where null is denoted by '\0'.

    Reads a null-terminated string where null is denoted by '\0'. Uses Charset.defaultCharset by default to decode strings.

    returns

    a null-terminated String starting at offset.

  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def takeRest(): Array[Byte]

    Permalink

    Consumes the rest of the buffer and returns it in a new Array[Byte].

    Consumes the rest of the buffer and returns it in a new Array[Byte].

    returns

    Array[Byte] containing the rest of the buffer.

  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Buffer

Inherited from AnyRef

Inherited from Any

Ungrouped