[ Index ]

PHP Cross Reference of Moodle 310

title

Body

[close]

/lib/zipstream/src/ -> Bigint.php (summary)

(no description)

File Size: 172 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Bigint:: (11 methods):
  __construct()
  fillBytes()
  init()
  fromLowHigh()
  getHigh32()
  getValue()
  getLowFF()
  isOver32()
  getLow32()
  getHex64()
  add()


Class: Bigint  - X-Ref

__construct(int $value = 0)   X-Ref
Initialize the bytes array

param: int $value

fillBytes(int $value, int $start, int $count)   X-Ref
Fill the bytes field with int

param: int $value
param: int $start
param: int $count
return: void

init(int $value = 0)   X-Ref
Get an instance

param: int $value
return: Bigint

fromLowHigh(int $low, int $high)   X-Ref
Fill bytes from low to high

param: int $low
param: int $high
return: Bigint

getHigh32()   X-Ref
Get high 32

return: int

getValue(int $end = 0, int $length = 8)   X-Ref
Get value from bytes array

param: int $end
param: int $length
return: int

getLowFF(bool $force = false)   X-Ref
Get low FF

param: bool $force
return: float

isOver32(bool $force = false)   X-Ref
Check if is over 32

param: bool $force
return: bool

getLow32()   X-Ref
Get low 32

return: int

getHex64()   X-Ref
Get hexadecimal

return: string

add(Bigint $other)   X-Ref
Add

param: Bigint $other
return: Bigint



Generated: Wed Jan 22 11:59:49 2025 Cross-referenced by PHPXref 0.7.1