- Preparing search index...
- The search index is not available
@icynet/irclib
Function estimateMessagePrefixLength
- estimateMessagePrefixLength(options: IIRCOptions, command: string, args: string[]): number
-
Parameters
-
-
command: string
-
args: string[]
Returns number
Estimate the length of the message the actual server will send to clients, you can use this information to truncate/split your messages.
:nickname!username@hostname command args :trailing\r\n
Returns
Predictive length of the message without the trailing