PickleBuffer

com.typesafe.tools.mima.core.PickleBuffer
final class PickleBuffer(val bytes: Array[Byte])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def assertEnd(end: Int): Unit
def atIndex[T](i: Int)(body: => T): T
def createIndex: Array[Int]

The indices in the bytes array where each consecutive entry starts. The length of the array is the number of entries in the pickle bytes.

The indices in the bytes array where each consecutive entry starts. The length of the array is the number of entries in the pickle bytes.

Attributes

def nextByte(): Int
def readByte(): Int
def readLong(len: Int): Long

Read a long number in signed big endian format, base 256.

Read a long number in signed big endian format, base 256.

Attributes

def readLongNat(): Long
def readNat(): Int

Read a natural number in big endian format, base 128. All but the last digits have bit 0x80 set.

Read a natural number in big endian format, base 128. All but the last digits have bit 0x80 set.

Attributes

Concrete fields

val bytes: Array[Byte]
var readIndex: Int