StringCollectionBind

@unitybase/mailer~ StringCollectionBind

new StringCollectionBind()

class for storing strings list
Implements:

Members

byteLength: Number static

Length content in bytes

linesCount: Number static

Count of lines in list

Methods

readLn(index, encodingopt)ArrayBuffer|String static

Get string with custom index from list as String or ArrayBuffer
Arguments:
  1. index (Number)  Index of string
  2. [encoding] (String)  Optional encoding of source. Default to 'utf-8'. If 'bin' - return ArrayBuffer source representation without any conversion. If 'base64' - transform base64 encoded content of source to ArrayBuffer

read() static

Implements a UBReader interface