Package io.foxcapades.lib.pdk

Types

Link copied to clipboard
class BooleanDeque : PrimitiveDeque<Boolean, BooleanArray>

A deque type that deals in unboxed Boolean values.

Link copied to clipboard
class ByteDeque : PrimitiveDeque<Byte, ByteArray>

A deque type that deals in unboxed Byte values.

Link copied to clipboard
class CharDeque : PrimitiveDeque<Char, CharArray>

A deque type that deals in unboxed Char values.

Link copied to clipboard
class DoubleDeque : PrimitiveDeque<Double, DoubleArray>

A deque type that deals in unboxed Double values.

Link copied to clipboard
class FloatDeque : PrimitiveDeque<Float, FloatArray>

A deque type that deals in unboxed Float values.

Link copied to clipboard
class IntDeque : PrimitiveDeque<Int, IntArray>

A deque type that deals in unboxed Int values.

Link copied to clipboard
class LongDeque : PrimitiveDeque<Long, LongArray>

A deque type that deals in unboxed Long values.

Link copied to clipboard
sealed class PrimitiveDeque<V, A> : Iterable<V>

Base type for all the primitive deque types included in the pdk package.

Link copied to clipboard
class ShortDeque : PrimitiveDeque<Short, ShortArray>

A deque type that deals in unboxed Short values.

Link copied to clipboard
class UByteDeque : PrimitiveDeque<UByte, UByteArray>

A deque type that deals in unboxed UByte values.

Link copied to clipboard
class UIntDeque : PrimitiveDeque<UInt, UIntArray>

A deque type that deals in unboxed UInt values.

Link copied to clipboard
class ULongDeque : PrimitiveDeque<ULong, ULongArray>

A deque type that deals in unboxed ULong values.

Link copied to clipboard
class UShortDeque : PrimitiveDeque<UShort, UShortArray>

A deque type that deals in unboxed UShort values.

Functions

Link copied to clipboard
fun ByteDeque.popInt(littleEndian: Boolean = false): Int

Takes the first 4 bytes from the backing ByteDeque and translates them into an Int value.

Link copied to clipboard
fun ByteDeque.popLong(littleEndian: Boolean = false): Long

Takes the first 8 bytes from the backing ByteDeque and translates them into a Long value.

Link copied to clipboard
fun ByteDeque.popShort(littleEndian: Boolean = false): Short

Takes the first 2 bytes from the backing ByteDeque and translates them into a Short value.

Link copied to clipboard
fun ByteDeque.popUByte(): UByte

Takes the first byte from the backing ByteDeque and translates it into a UByte value.

Link copied to clipboard
fun ByteDeque.popUInt(littleEndian: Boolean = false): UInt

Takes the first 4 bytes from the backing ByteDeque and translates them into an UInt value.

Link copied to clipboard
fun ByteDeque.popULong(littleEndian: Boolean = false): ULong

Takes the first 8 bytes from the backing ByteDeque and translates them into a ULong value.

Link copied to clipboard
fun ByteDeque.popUShort(littleEndian: Boolean = false): UShort

Takes the first 2 bytes from the backing ByteDeque and translates them into a UShort value.