Skip to content

ASNValue

  • Full name: \ASNValue

Constants

Constant Visibility Type Value
TAG_INTEGER public 0x2
TAG_BITSTRING public 0x3
TAG_SEQUENCE public 0x30

Properties

Tag

public $Tag

Value

public $Value

Methods

__construct

public __construct(mixed $Tag = 0x0, mixed $Value = ''): mixed

Parameters:

Parameter Type Description
$Tag mixed
$Value mixed

Encode

public Encode(): mixed

Decode

public Decode(mixed& $Buffer): mixed

Parameters:

Parameter Type Description
$Buffer mixed

ReadBytes

protected static ReadBytes(mixed& $Buffer, mixed $Length): mixed
  • This method is static.

Parameters:

Parameter Type Description
$Buffer mixed
$Length mixed

ReadByte

protected static ReadByte(mixed& $Buffer): mixed
  • This method is static.

Parameters:

Parameter Type Description
$Buffer mixed

BinToInt

protected static BinToInt(mixed $Bin): mixed
  • This method is static.

Parameters:

Parameter Type Description
$Bin mixed

IntToBin

protected static IntToBin(mixed $Int): mixed
  • This method is static.

Parameters:

Parameter Type Description
$Int mixed

SetIntBuffer

public SetIntBuffer(mixed $Value): mixed

Parameters:

Parameter Type Description
$Value mixed

GetIntBuffer

public GetIntBuffer(): mixed

SetInt

public SetInt(mixed $Value): mixed

Parameters:

Parameter Type Description
$Value mixed

GetInt

public GetInt(): mixed

SetSequence

public SetSequence(mixed $Values): mixed

Parameters:

Parameter Type Description
$Values mixed

GetSequence

public GetSequence(): mixed


Automatically generated on 2025-03-18