HexSequence

cc.otavia.sql.impl.HexSequence
See theHexSequence companion object
class HexSequence

A sequence of hex values, each terminated by a zero byte.

The hex number is left padded to start with at least three 0 and to have at least seven digits.

After 000FFFFFFFFFFFFFFFF it will restart with 0000000.

The generated sequence:

0000000
0000001
0000002
...
000FFFF
00010000
...
000FFFFF
000100000
...
000FFFFFF
0001000000
...
000FFFFFFFFFFFFFFFF

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(start: Long)

Value parameters

start

unsigned long for the first value returned by next()

Attributes

Concrete methods

def next(): Array[Byte]

A copy of the next hex value, terminated by a zero byte.

A copy of the next hex value, terminated by a zero byte.

Attributes