nl_tokens: Similar to readStr . ucs but will check for a null - terminator determining the end of the string . The returned string will be of _at most_ length octets
pl_tokens: function ( view , offset , length ) { var trmOffset = lib . locateStrTrm . ucs ( <mask> , offset , length ) ; if ( trmOffset !== - 1 ) { length = trmOffset - offset ; } return lib . readStr . ucs ( view , offset , length ) ; }