package spi

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

Type Members

  1. trait Buffer extends AnyRef

    Buffer interface, which does not have any internal cursors unlike ByteBuffer of Java library.

    Buffer interface, which does not have any internal cursors unlike ByteBuffer of Java library.

    • The read methods read the buffer data from the given position.
    • The write methods write data to the specified position in the buffer and return the written byte length.

    If the buffer capacity is insufficient, these read/write methods throw an InsufficientBufferException. If this exception is thrown, the user code should feed more data, and then resume reading.

  2. trait BufferPacker extends Packer
  3. trait ErrorCode extends AnyRef
  4. case class ExtTypeHeader(extType: Byte, byteLength: Int) extends Product with Serializable
  5. case class InsufficientBufferException(currentPosition: Long, expectedLength: Long) extends MessageException with Product with Serializable
  6. case class IntegerOverflowException(bigInteger: BigInteger) extends MessageException with Product with Serializable

    This error is thrown when the user tries to read an integer value using a smaller types.

    This error is thrown when the user tries to read an integer value using a smaller types. For example, calling MessageUnpacker.unpackInt() for an integer value that is larger than Integer.MAX_VALUE will cause this exception.

  7. class MessageException extends Exception

    Base class for message pack errors

  8. sealed abstract class MessageFormat extends AnyRef
  9. trait MessageSink extends AutoCloseable with Flushable

    Provides a buffered output stream that writes sequence of WriteBuffer instances.

    Provides a buffered output stream that writes sequence of WriteBuffer instances.

    A Sink implementation has total control of the buffer memory so that it can reuse buffer memory, use buffer pools, or use memory-mapped files.

  10. trait MessageSource extends AutoCloseable

  11. type MsgPack = Array[Byte]
  12. trait Packer extends AutoCloseable

    Message Packer interface

  13. trait ReadBuffer extends Buffer
  14. case class ReadCursor(buf: ReadBuffer, position: Int) extends Product with Serializable

    Mutable cursor for Unpacker.

  15. case class TooLargeMessageException(size: Long) extends MessageException with Product with Serializable
  16. trait Unpacker extends AutoCloseable

    MessageUnpacker interface

  17. trait Value extends AnyRef

  18. sealed abstract class ValueType extends AnyRef
  19. trait WriteBuffer extends Buffer
  20. case class WriteCursor(buf: WriteBuffer, position: Int) extends Product with Serializable

Value Members

  1. object Code

    MessagePack prefix codes

  2. object Compat

    Compatibility layer for Scala.js

  3. object ErrorCode

  4. object MessageException extends Serializable
  5. object MessageFormat

    Describes the list of the message format types defined in the MessagePack specification.

  6. object MessagePack

  7. object OffsetPacker

    Write MessagePack code at a given position on the buffer and return the written byte length

  8. object OffsetUnpacker

    Read a message pack data from a given offset in the buffer.

    Read a message pack data from a given offset in the buffer. The last read byte length can be checked by calling ReadCursor.lastReadLength method.

  9. object Value
  10. object ValueFactory
  11. object ValueType

    Representation of MessagePack value types.

Inherited from AnyRef

Inherited from Any

Ungrouped