\PBInputStringReader

Reads string input

Summary

Methods
Properties
Constants
__construct()
get_pointer()
add_pointer()
get_message_from()
next()
$length
No constants found
No protected methods found
$base128
$pointer
$string
N/A
No private methods found
No private properties found
N/A

Properties

$length

$length : 

Type

$base128

$base128 : 

Type

$pointer

$pointer : 

Type

$string

$string : 

Type

Methods

__construct()

__construct(  $string) 

Parameters

$string

get_pointer()

get_pointer() : integer

Gets the acutal position of the point

Returns

integer —

the pointer

add_pointer()

add_pointer(integer  $add) 

Add add to the pointer

Parameters

integer $add
  • int to add to the pointer

get_message_from()

get_message_from(  $from) 

Get the message from from to actual pointer

Parameters

$from

next()

next(boolean  $is_string = false) : \varint

get the next

Parameters

boolean $is_string
  • if set to true only one byte is read

Returns

\varint