Unpickle symbol table information descending from a class and/or module root from an array of bytes.
Attributes
- bytes
bytearray from which we unpickle
- classroot
the top-level class which is unpickled, or NoSymbol if inapplicable
- filename
filename associated with bytearray, only used for error messages
- moduleroot
the top-level module class which is unpickled, or NoSymbol if inapplicable
- Companion:
- object
- Graph
- Supertypes
Members list
Type members
Classlikes
Attributes
- Graph
- Supertypes
- trait TypeParamsCompleterclass LocalUnpicklerclass LazyTypeclass UncachedGroundTypeclass Typetrait Showabletrait Hashableclass Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- Known subtypes
- class ClassUnpicklerobject localMemberUnpickler.type
Attributes
- Graph
- Supertypes
- class LocalUnpicklerclass LazyTypeclass UncachedGroundTypeclass Typetrait Showabletrait Hashableclass Objecttrait Matchableclass Any
- Self type
- localMemberUnpickler.type
Value members
Concrete methods
Convert tp { type name = sym } forSome { sym >: L <: H } to tp { name >: L <: H } and tp { name: sym } forSome { sym <: T with Singleton } to tp { name: T }
Convert tp { type name = sym } forSome { sym >: L <: H } to tp { name >: L <: H } and tp { name: sym } forSome { sym <: T with Singleton } to tp { name: T }
Attributes
Inherited methods
Pickle = majorVersion_Nat minorVersion_Nat nbEntries_Nat {Entry} Entry = type_Nat length_Nat [actual entries]
Pickle = majorVersion_Nat minorVersion_Nat nbEntries_Nat {Entry} Entry = type_Nat length_Nat [actual entries]
Assumes that the ..Version_Nat are already consumed.
Attributes
- Returns:
an array mapping entry numbers to locations in the byte array where the entries start.
- Inherited from:
- PickleBuffer
Attributes
- Inherited from:
- PickleBuffer
Write a natural number x
at position pos
.
If number is more than one byte, shift rest of array to make space.
Write a natural number x
at position pos
.
If number is more than one byte, shift rest of array to make space.
Attributes
- pos
...
- x
...
- Inherited from:
- PickleBuffer
Peek at the current byte without moving the read index
Read a byte
Read a long number in signed big endian format, base 256.
Attributes
- Inherited from:
- PickleBuffer
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
- Inherited from:
- PickleBuffer
Perform operation op
the number of
times specified. Concatenate the results into a list.
Perform operation op
the number of
times specified. Concatenate the results into a list.
Attributes
- Inherited from:
- PickleBuffer
Returns the buffer as a sequence of (Int, Array[Byte]) representing (tag, data) of the individual entries. Saves and restores buffer state.
Returns the buffer as a sequence of (Int, Array[Byte]) representing (tag, data) of the individual entries. Saves and restores buffer state.
Attributes
- Inherited from:
- PickleBuffer
Perform operation op
until the condition
readIndex == end
is satisfied.
Concatenate results into a list.
Perform operation op
until the condition
readIndex == end
is satisfied.
Concatenate results into a list.
Attributes
- end
...
- op
...
- Returns:
...
- Inherited from:
- PickleBuffer
Write a byte of data
Write a long number x
in signed big endian format, base 256.
Write a long number x
in signed big endian format, base 256.
Attributes
- x
The long number to be written.
- Inherited from:
- PickleBuffer
Like writeNat, but for longs. This is not the same as writeLong, which writes in base 256. Note that the binary representation of LongNat is identical to Nat if the long value is in the range Int.MIN_VALUE to Int.MAX_VALUE.
Like writeNat, but for longs. This is not the same as writeLong, which writes in base 256. Note that the binary representation of LongNat is identical to Nat if the long value is in the range Int.MIN_VALUE to Int.MAX_VALUE.
Attributes
- Inherited from:
- PickleBuffer
Write a natural number in big endian format, base 128. All but the last digits have bit 0x80 set.
Write a natural number in big endian format, base 128. All but the last digits have bit 0x80 set.
Attributes
- Inherited from:
- PickleBuffer