# new StringCollectionBind ()

Members

# byteLength : Number static

Length content in bytes

# linesCount : Number static

Count of lines in list

Methods

# read () static

Implements a UBReader interface

# readLn (indexNumber, encodingoptString) → ArrayBuffer | String static

Get string with custom index from list as String or ArrayBuffer

Return:

Return String in case no encoding passed or ArrayBuffer

Arguments:
  • index: Number

    Index of string

  • 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