ByteUtils

tsec.common.ByteUtils$
object ByteUtils

Attributes

Source
ByteUtils.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ByteUtils.type

Members list

Value members

Concrete methods

final def bytesToInt(a: Array[Byte]): Option[Int]

Attributes

Source
ByteUtils.scala

Attributes

Source
ByteUtils.scala
final def contains[A : Eq](arr: Array[A], elem: A): Boolean

Only exists because the scala stdlib decided iterators were the best way to implement a .find operation.

Only exists because the scala stdlib decided iterators were the best way to implement a .find operation.

Will remove iff the new collections remove that crap

Attributes

Source
ByteUtils.scala
final def find[A](arr: Array[A], p: A => Boolean): Boolean

Only exists because the scala stdlib decided iterators were the best way to implement a .find operation.

Only exists because the scala stdlib decided iterators were the best way to implement a .find operation.

Will remove iff the new collections remove that crap

Attributes

Source
ByteUtils.scala
final def intToBytes(a: Int): Array[Byte]

Attributes

Source
ByteUtils.scala
final def longToBytes(x: Long): Array[Byte]

Attributes

Source
ByteUtils.scala
final def unsafeBytesToInt(a: Array[Byte]): Int

Attributes

Source
ByteUtils.scala

Attributes

Source
ByteUtils.scala
final def zeroByteArray(a: Array[Byte]): Unit

Attributes

Source
ByteUtils.scala
final def zeroCharArray(a: Array[Char]): Unit

Attributes

Source
ByteUtils.scala