new StringCollectionBind()#

Members

byteLength: Numberstatic #

Length content in bytes

linesCount: Numberstatic #

Count of lines in list

Methods

read()static#

Implements a UBReader interface

readLn(index: Number, encodingopt: String)→ArrayBuffer | Stringstatic#

Get string with custom index from list as String or ArrayBuffer

Return:

Return String in case no encoding passed or ArrayBuffer

Arguments info:

  • 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