nl_tokens: Locate the first occurrence of Unicode null - terminator ( i . e . a sequence of two zeroed - out octets ) in DataView view . Search starts at given offset and ends after length octets . Will return the absolute offset of sequence if found - 1 otherwise
pl_tokens: function ( view , offset , length ) { var trmOffset = lib . locateSeq ( [ 0 , 0 ] , view , offset , <mask> ) ; if ( trmOffset === - 1 ) { return - 1 ; } if ( ( trmOffset - offset ) % 2 !== 0 ) { ++ trmOffset ; } return trmOffset ; }