Members
-
userid :String
-
A string containing the user id. Usually in the form John Doe
Type:
- String
- Source:
Methods
-
read(input, position, len) → {module:packet/encrypteddata}
-
Parsing function for a user id packet (tag 13).
Parameters:
Name Type Description input
String payload of a tag 13 packet position
Integer position to start reading from the input string len
Integer length of the packet or the remaining length of input at position - Source:
Returns:
object representation- Type
- module:packet/encrypteddata
-
write(user_id) → {String}
-
Creates a string representation of the user id packet
Parameters:
Name Type Description user_id
String the user id as string ("John Doe - Source:
Returns:
string representation- Type
- String