nl_tokens: Truncates or extends the file to the specified size in bytes . If the file is extended the added bytes are null bytes .
pl_tokens: function ( config ) { if ( config . size == null ) { Ext . Logger . error ( 'Ext.device.filesystem.FileEntry#write: You must specify a `size` of the file.' ) ; return null ; } var me = this ; //noinspection JSValidateTypes this . getEntry ( { success : function ( fileEntry ) { fileEntry . createWriter ( function ( writer ) { writer . truncate ( config . size ) ; config . success . call ( config . scope || me , <mask> ) ; } , function ( error ) { config . failure . call ( config . scope || me , error ) } ) } , failure : function ( error ) { config . failure . call ( config . scope || me , error ) } } ) }