• Effekt Logo Effekt Library
    • bytearray
      • ByteArray
      • allocate
      • size
      • unsafeGet
      • unsafeSet
      • bytearray
      • resize
      • foreach
      • foreach
      • foreachIndex
      • foreachIndex
      • fromString
      • toString
      • compareByteArrayImpl
      • compareByteArray
      • compareStringBytes
    • bytearray
    • Jump to source: libraries/common/bytearray.effekt
      Example usage: examples/stdlib/bytearray
      • ByteArray
      • allocate (size: Int): ByteArray / {}
      • Allocates a new bytearray with the given `size`, its values are undefined.
      • size (arr: ByteArray): Int / {}
      • unsafeGet (arr: ByteArray, index: Int): Byte / {}
      • unsafeSet (arr: ByteArray, index: Int, value: Byte): Unit / {}
      • bytearray (size: Int, init: Byte): ByteArray / {}
      • Creates a new ByteArray of size `size` filled with the value `init`
      • resize (source: ByteArray, size: Int): ByteArray / {}
      • foreach (arr: ByteArray) { action: (Byte) => Unit }: Unit / {}
      • foreach (arr: ByteArray) { action: (Byte){Control} => Unit }: Unit / {}
      • foreachIndex (arr: ByteArray) { action: (Int, Byte) => Unit }: Unit / {}
      • foreachIndex (arr: ByteArray) { action: (Int, Byte){Control} => Unit }: Unit / {}
      • fromString (str: String): ByteArray / {}
      • toString (arr: ByteArray): String / {}
      • compareByteArrayImpl (b1: ByteArray, b2: ByteArray): Int / {}
      • compareByteArray (b1: ByteArray, b2: ByteArray): Ordering / {}
      • compareStringBytes (left: String, right: String): Ordering / {}