Search completed in 1.26 seconds.
Reading from Files - Archive of obsolete content
file and stream guide: [ nsiscriptableio | accessing files | getting file information |
reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] important note: the pages from the file and stream guide use the io object (nsiscriptableio), which was not available in any released version of the platform (pending some fixes).
...other documentation on files and i/o not using the unavailable nsiscriptableio apis: code snippets: file i/o, open and save dialogs,
reading textual data, writing textual data, list of file-related error codes.
...
reading data from a file involves getting a reference to a file and then creating an input stream to read from it.
...And 25 more matches
Reading textual data - Archive of obsolete content
you can fallback to the default character encoding stored in preferences (intl.charset.default, a localized pref value) when
reading from a file, the question is harder to answer.
... getservice(components.interfaces.nsiutf8converterservice); var data = utf8converter.converturispectoutf8 (str, "utf-8"); gecko 1.8 and newer
reading strings starting with gecko 1.8 (seamonkey 1.0, firefox 1.5), you can use nsiconverterinputstream to read strings from a stream (nsiinputstream).
...
reading lines the nsiunicharlineinputstream interface provides an easy way to read entire lines from a unichar stream.
...And 3 more matches
HTML parser threading
html parser th
reading the html parser parses data received from the network off the main thread.
...if the executor is
reading from a stage (i.e.
...(again, here we get to move a bunch of tree ops by obtaining a mutex once instead of having to synchronize thread on a per-tree op basis.) if the executor isn't
reading from a stage, it calls nshtml5parser::parseuntilblocked() to parse potential document.write()-generated data into tree ops.
...And 3 more matches
NDEFReadingEvent - Web APIs
the ndef
readingevent interface represents events despatched on new nfc
readings obtained by ndefreader.
... constructor ndef
readingevent.ndef
readingevent() creates an ndef
readingevent event with the given parameters.
... ndef
readingevent.serialnumber read only represents the serial number of the device used for anti-collision and identification, or empty string in case none is available.
...And 2 more matches
EndReading
« xpcom api reference summary the end
reading function returns a const char_type pointer to the element just beyond the last element of the string's internal buffer.
... const char_type* end
reading() const; remarks it is generally illegal to dereference the returned pointer, unless it is known that the string's internal buffer is null-terminated.
... example code see begin
reading for an example.
... see also begin
reading, ns_cstringgetdata, nsacstring ...
EndReading
« xpcom api reference summary the end
reading function returns a const char_type pointer to the element just beyond the last element of the string's internal buffer.
... const char_type* end
reading() const; remarks it is generally illegal to dereference the returned pointer, unless it is known that the string's internal buffer is null-terminated.
... example code see begin
reading for an example.
... see also begin
reading, ns_cstringgetdata, nsastring ...
Sensor.onreading - Web APIs
the on
reading eventhandler is called when a
reading is taken on one of the child interfaces of the sensor interface.
... syntax sensorinstance.on
reading = function sensorinstance.addeventlistener('
reading', function() { ...
... }) because sensor is a base class, on
reading may only be used on one of its derived classes.
... specifications specification status comment generic sensor apithe definition of 'on
reading' in that specification.
BeginReading
« xpcom api reference summary the begin
reading function returns a const pointer to the first element of the string's internal buffer.
... const char_type* begin
reading() const; remarks the resulting character array is not necessarily null-terminated.
... example code // count the number of times a particular character appears in the string pruint32 countchar(const nsacstring& str, char c) { const char* start = str.begin
reading(); const char* end = str.end
reading(); pruint32 count = 0; while (start != end) { if (*start++ == c) ++count; } return count; } see also length, end
reading ...
BeginReading
« xpcom api reference summary the begin
reading function returns a const pointer to the first element of the string's internal buffer.
... const char_type* begin
reading() const; remarks the resulting character array is not necessarily null-terminated.
... example code // count the number of times a particular character appears in the string pruint32 countchar(const nsastring& str, prunichar c) { const prunichar* start = str.begin
reading(); const prunichar* end = str.end
reading(); pruint32 count = 0; while (start != end) { if (*start++ == c) ++count; } return count; } see also length ...
Sensor.hasReading - Web APIs
the has
reading read-only property of the sensor interface returns a boolean indicating whether the sensor has a
reading.
... syntax var boolean = sensorinstance.has
reading because sensor is a base class, has
reading may only be read from one of its derived classes.
... specifications specification status comment generic sensor apithe definition of 'has
reading' in that specification.
NDEFReader.onreading - Web APIs
the on
reading property of ndefreader interface of the web nfc api is called whenever a new
reading is available from compatible nfc devices, e.g.
Index - Web APIs
24 accelerometer api, accelerometer, accelerometer api, generic sensor api, interface, reference, sensor, sensor apis, sensors the accelerometer interface of the sensor apis provides on each
reading the acceleration applied to the device along all three axes.
... 291 blob.stream() api, blob, change, convert, file api, method, readablestream, reference, stream the blob interface's stream() method returns a readablestream which upon
reading returns the data contained within the blob.
...unlike drawwindow(), this api uses the operating system to snapshot the widget on-screen, rather than
reading from gecko's own compositor.
...And 23 more matches
FileReader - Web APIs
to read files by pathname in javascript, standard ajax solutions should be used to do server-side file
reading, with cors permission if
reading cross-domain.
... properties filereader.error read only a domexception representing the error that occurred while
reading the file.
...this event is triggered each time the
reading operation is aborted.
...And 9 more matches
Index - Archive of obsolete content
87 io/byte-streams provides streams for
reading and writing bytes.
... 89 io/text-streams provides streams for
reading and writing text.
... 305 updating addons broken by private browsing changes add-ons, reference after
reading this document, contact josh matthews with further questions or clarifications, or file a bug if your extension has stopped working due to a change described here and you are having trouble updating it.
...And 6 more matches
ARIA: document role - Accessibility
generally used in complex composite widgets or applications, the document role can inform assistive technologies to switch context to a
reading mode: the document role tells assistive technologies with
reading or browse modes to use the document mode to read the content contained within this element.
... generally placed within an application role or other interactive widget role, the document role is used to indicate a section of a complex composit widget that an assistive technology user should read using its browse or virtual
reading mode, if available.
... because ats with
reading mode default to that mode for all elements except for those with a widget or application role set, document role is only useful for focusable elements within a widget or application that should be read as static rich text.
...And 5 more matches
ARIA: feed role - Accessibility
a feed enables screen readers to use the browse mode
reading cursor to both read and scroll through a stream of rich content that may continue scrolling infinitely by loading more content as the user reads.
...the list establishes an interoperability contract between the web page and assistive technologies that governs scroll interactions so that assistive technology users can read articles, jump forward and backward by article, and reliably trigger new articles to load while in
reading mode.
...implementing the feed pattern allows a screen reader to reliably read and trigger the loading of feed content while in
reading mode.
...And 5 more matches
Index
however, if the application developer was not satisfied with how screen readers have handled the
reading of sentences this boundary type could be implemented and screen readers could use the application's version of a sentence rather than the screen reader's.
... 881 nsiscriptableio interfaces, interfaces:scriptable, xpcom, xpcom api reference, xpcom interface reference file and stream guide: [ nsiscriptableio | accessing files | getting file information |
reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] 882 nsiscriptableinputstream interfaces, interfaces:scriptable, xpcom, xpcom api reference, xpcom interface reference return the number of bytes currently available in the stream.
...if the other apis you are
reading data from or writing data to don't require you to use this legacy representation, you should use textdecoder and textencoder (available to chrome javascript via components.utils.importglobalproperties) instead of this api.
...And 4 more matches
nsIScriptableIO
file and stream guide: [ nsiscriptableio | accessing files | getting file information |
reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] important note: the pages from the file and stream guide use the io object (nsiscriptableio), which was not available in any released version of the platform (pending some fixes).
...other documentation on files and i/o not using the unavailable nsiscriptableio apis: code snippets: file i/o, open and save dialogs,
reading textual data, writing textual data, list of file-related error codes.
... nsiscriptableio provides a convenient api for creating files and streams, as well as for
reading and writing data to them.
...And 4 more matches
Sensor APIs - Web APIs
} else if (event.error.name === 'notreadableerror' ) { console.log('cannot connect to the sensor.'); } }); accelerometer.addeventlistener('
reading', () => reloadonshake(accelerometer)); accelerometer.start(); } catch (error) { // handle construction errors.
... console.log('sensor construction was blocked by a feature policy.'); } else if (error.name === 'referenceerror') { console.log('sensor is not supported by the user agent.'); } else { throw error; } } permissions and feature policy sensor
readings may not be taken unless the user grants permission to a specific sensor type.
...cy name absoluteorientationsensor 'accelerometer', 'gyroscope', and 'magnetometer' accelerometer 'accelerometer' ambientlightsensor 'ambient-light-sensor' gyroscope 'gyroscope' linearaccelerationsensor 'accelerometer' magnetometer 'magnetometer' relativeorientationsensor 'accelerometer', and 'gyroscope'
readings sensor
readings are received through the sensor.on
reading callback which is inherited by all sensor types.
...And 4 more matches
Using readable streams - Web APIs
as a javascript developer, programmatically
reading and manipulating streams of data received over the network, chunk by chunk, is very useful!
... attaching a reader now we’ve got our streaming body,
reading the stream requires attaching a reader to it.
... also note that the previous example can be reduced by one step, as response.body is synchronous and so doesn't need the promise: // fetch the original image fetch('./tortoise.png') // retrieve its body as readablestream .then(response => { const reader = response.body.getreader();
reading the stream now you’ve got your reader attached, you can read data chunks out of the stream using the readablestreamdefaultreader.read() method.
...And 4 more matches
File I/O - Archive of obsolete content
// file is the given directory (nsifile) var entries = file.directoryentries; var array = []; while(entries.hasmoreelements()) { var entry = entries.getnext(); entry.queryinterface(components.interfaces.nsifile); array.push(entry); }
reading from a file read into a stream or a string this will allow you to read a file without locking up the ui thread while
reading.
...there might be races between different processes and/or threads, e.g., a file could be immediately created or deleted after you check the existence but before you can perform any other actions such as opening the file for
reading or writing.
...
reading a file // |file| is nsifile var data = ""; var fstream = components.classes["@mozilla.org/network/file-input-stream;1"].
...And 3 more matches
WebGLRenderingContext.bufferData() - Web APIs
when using a webgl 2 context, the following values are available additionally: gl.static_read: the contents are intended to be specified once by
reading data from webgl, and queried many times by the application.
... gl.dynamic_read: the contents are intended to be respecified repeatedly by
reading data from webgl, and queried many times by the application.
... gl.stream_read: the contents are intended to be specified once by
reading data from webgl, and queried at most a few times by the application gl.static_copy: the contents are intended to be specified once by
reading data from webgl, and used many times as the source for webgl drawing and image specification commands.
...And 3 more matches
ARIA Test Cases - Accessibility
screen readers should continue to respect any special table
reading modes while the user traverses the grid.
... window-eyes window-eyes should allow the user to change row/col header
reading modes with ctrl+shift+h, whether the user is in browse or forms mode.
...for example, what about
reading the line number if the user requests that info?
...And 3 more matches
Chapter 4: Using XPCOM—Implementing advanced processes - Archive of obsolete content
listing 13:
reading the contents of a binary file file.initwithpath('c:\\temp\\temp.txt'); var filestream = components.classes['@mozilla.org/network/file-input-stream;1'] .createinstance(components.interfaces.nsifileinputstream); filestream.init(file, 1, 0, false); var binarystream = components.classes['@mozilla.org/binaryinputstream;1'] .createinstance(components.interfaces.nsib...
... listing 15:
reading a shift-jis text file file.initwithpath('c:\\temp\\temp.txt'); var charset = 'shift_jis'; var filestream = components.classes['@mozilla.org/network/file-input-stream;1'] .createinstance(components.interfaces.nsifileinputstream); filestream.init(file, 1, 0, false); var converterstream = components.classes['@mozilla.org/intl/converter-input-stream;1'] .create...
... listing 18: converting text from iso-2022-jp to unicode converter.charset = 'iso-2022-jp'; var unicode_str = converter.converttounicode(iso2022jp_str);
reading and writing preferences you can use the nsiprefbranch function to access firefox's preferences system.
...And 2 more matches
Building accessible custom components in XUL - Archive of obsolete content
further
reading grid element reference description element reference label element reference grid tutorial label tutorial adding roles with dhtml accessibility download stage-2.zip install stage-2.xpi using the new dhtml accessibility techniques in firefox 1.5, we can declare the role of each element in our spreadsheet.
...further
reading table of supported roles and states in firefox focus issues download stage-3.zip install stage-3.xpi the next step on the road to an accessible spreadsheet is the focus problem.
... <caption>cells really get focus</caption> further
reading key-navigable custom dhtml widgets on mozilla.org adding keyboard navigation download stage-4.zip install stage-4.xpi true accessibility requires complete keyboard navigability.
...And 2 more matches
HTTP Cache
provides access to a cached entry data and meta data for
reading or writing or in some cases both, see below.
... concurrent read and write important difference in behavior from the old cache: the cache now supports
reading a cache entry data while it is still being written by the first consumer - the writer.
...the rest of the readers are still concurrently
reading the content since output stream for the cache entry is again open and kept by the current writer.
...And 2 more matches
Enc Dec MAC Using Key Wrap CertReq PKCS10 CSR
); } } /* * sign the contents of input file using private key and * return result as secitem */ secstatus signdata(const char *infilename, seckeyprivatekey *pk, secitem *res) { secstatus rv = secfailure; unsigned int nb; unsigned char ibuf[4096]; prfiledesc *infile = null; sgncontext *sgn = null; /* open the input file for
reading */ infile = pr_open(infilename, pr_rdonly, 0); if (!infile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for
reading.\n", infilename); rv = secfailure; goto cleanup; } /* sign using private key */ sgn = sgn_newcontext(sec_oid_pkcs1_md5_with_rsa_encryption, pk); if (!sgn) { pr_fprintf(pr_stderr, "unable to crea...
...true); } return rv; } /* * verify the signature using public key */ secstatus verifydata(const char *infilename, seckeypublickey *pk, secitem *sigitem, secupwdata *pwdata) { unsigned int nb; unsigned char ibuf[4096]; secstatus rv = secfailure; vfycontext *vfy = null; prfiledesc *infile = null; /* open the input file for
reading */ infile = pr_open(infilename, pr_rdonly, 0); if (!infile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for
reading.\n", infilename); rv = secfailure; goto cleanup; } vfy = vfy_createcontext(pk, sigitem, sec_oid_pkcs1_md5_with_rsa_encryption, pw...
... /* open the encrypted file for writing */ encfile = pr_open(encryptedfilename, pr_create_file | pr_truncate | pr_rdwr, 00660); if (!encfile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for writing.\n", encryptedfilename); rv = secfailure; goto cleanup; } /* open the input file for
reading */ infile = pr_open(infilename, pr_rdonly, 0); if (!infile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for
reading.\n", infilename); rv = secfailure; goto cleanup; } /* open the header file to write padding */ headerfile = pr_open(headerfilename, pr_create_file | pr_rdwr | pr_append, 00660); if (!headerfile) { ...
...And 2 more matches
sample2
path> -b <headerfilename> -e <encryptfilename> -o <opfilename>\n"); exit(-1); } } /* * sign the contents of input file using private key and * return result as secitem */ secstatus signdata(const char *infilename, seckeyprivatekey *pk, secitem *res) { secstatus rv = secfailure; unsigned int nb; unsigned char ibuf[4096]; prfiledesc *infile = null; sgncontext *sgn = null; /* open the input file for
reading */ infile = pr_open(infilename, pr_rdonly, 0); if (!infile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for
reading.\n", infilename); rv = secfailure; goto cleanup; } /* sign using private key */ sgn = sgn_newcontext(sec_oid_pkcs1_md5_with_rsa_encryption, pk); if (!sgn) { pr_fprintf(pr_stderr, "unable to create context for signing\n"); rv = secfailure; goto cleanup; } rv = sgn_begin(sgn); if (...
...anup: if (infile) { pr_close(infile); } if (sgn) { sgn_destroycontext(sgn, pr_true); } return rv; } /* * verify the signature using public key */ secstatus verifydata(const char *infilename, seckeypublickey *pk, secitem *sigitem, secupwdata *pwdata) { unsigned int nb; unsigned char ibuf[4096]; secstatus rv = secfailure; vfycontext *vfy = null; prfiledesc *infile = null; /* open the input file for
reading */ infile = pr_open(infilename, pr_rdonly, 0); if (!infile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for
reading.\n", infilename); rv = secfailure; goto cleanup; } vfy = vfy_createcontext(pk, sigitem, sec_oid_pkcs1_md5_with_rsa_encryption, pwdata); if (!vfy) { pr_fprintf(pr_stderr, "unable to create context for verifying signature\n"); rv = secfailure; goto cleanup; } rv = vfy_begin(vfy); i...
...t); if (!pubkey) { pr_fprintf(pr_stderr, "could not get key from certificate\n"); rv = secfailure; goto cleanup; } /* open the encrypted file for writing */ encfile = pr_open(encryptedfilename, pr_create_file | pr_truncate | pr_rdwr, 00660); if (!encfile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for writing.\n", encryptedfilename); rv = secfailure; goto cleanup; } /* open the input file for
reading */ infile = pr_open(infilename, pr_rdonly, 0); if (!infile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for
reading.\n", infilename); rv = secfailure; goto cleanup; } /* open the header file to write padding */ headerfile = pr_open(headerfilename, pr_create_file | pr_rdwr | pr_append, 00660); if (!headerfile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for writing.\n", headerfilename); rv =...
...And 2 more matches
Cognitive accessibility - Accessibility
examples of timed content include forms, timed
reading exercises, and training materials.
...people with cognitive disabilities, limited short-term memory, and
reading disabilities all benefit from being able to identify the purpose of content this way.
...some users may prefer a table of contents, site map, or search functionality rather than
reading and traversing through several pages to find what they need.
...And 2 more matches
Chapter 3: Introduction to XUL—How to build a more intuitive UI - Archive of obsolete content
reading in style sheets xul uses css to specify the appearance of its elements.
... on line 2 of listing 2, we’re
reading in the theme’s standard style sheet.
... if you are embedding a script in a page, you should bracket your code inside a cdata section as shown in listing 18; this will avoid errors caused by mistakenly
reading "&" and other characters as the beginnings of entity references.
... <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet href="chrome://global/skin/"?> <!doctype window system "chrome://testapp/locale/testapp.dtd"> <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <button label="&button.1.label;"/> <button label="&button.2.label;"/> </window> listing 26:
reading in external entities <!entity button.1.label "firefox"> <!entity button.2.label "thunderbird"> listing 27: testapp.dtd substituting css for attribute declarations the gecko rendering engine includes a number of css properties with -moz- prepended to them; these are custom properties for xul that have been implemented prior to being a w3c recommendation.
Source code directories overview - Archive of obsolete content
dbm contains c code for managing,
reading and writing hash tables.
... ipc contains jpeg contains c code for
reading/writing jpeg images.
...it includes all the code for managing mail,
reading newsgroup messages, importing other mail formats, composing new messages and so on.
....png, .gif), allowing drop-in java virtual machines (called oji, for "open java interface"), supporting plug-ins and
reading various compression formats (e.g.
HTML text fundamentals - Learn web development
the basics: headings and paragraphs most structured text consists of headings and paragraphs, whether you are
reading a story, a newspaper, a college textbook, a magazine, etc.
... structured content makes the
reading experience easier and more enjoyable.
...furthermore: users looking at a web page tend to scan quickly to find relevant content, often just
reading the headings to begin with.
...among the various techniques used, they provide an outline of the document by
reading out the headings, allowing their users to find the information they need quickly.
Power profiling overview
each core typically has hyper-th
reading, which means it contains two logical cpus.
... tools that can take rapl
readings include the following.
... further
reading chapter 13 of the intel optimization manual has many details about optimizing for power consumption.
... section 13.5 ("tuning software for intelligent power consumption") in particular is worth
reading.
Threads
this chapter describes the basic nspr th
reading api.
... th
reading types and constants th
reading functions a thread has a limited number of resources that it truly owns.
... for an overview of the nspr th
reading model and sample code that illustrates its use, see introduction to nspr.
... th
reading types and constants prthread prthreadtype prthreadscope prthreadstate prthreadpriority prthreadprivatedtor th
reading functions most of the functions described here accept a pointer to the thread as an argument.
sslfnc.html
ssl_enable_fdx tells the ssl library whether the application will have two threads, one
reading and one writing, or just one thread doing reads and writes alternately.
... for an application to do full duplex, it would typically have two threads sharing the socket; one doing all the
reading and the other doing all the writing.
... the ssl_enable_fdx option tells the ssl library whether the application will have two threads, one
reading and one writing, or just one thread doing reads and writes alternately.
... ssl_enable_fdx tells the ssl library whether the application will have two threads, one
reading and one writing, or just one thread doing reads and writes alternately.
Redis Tips
in one redis-cli, do this: redis1> subscribe message-channel
reading messages...
... i recommend
reading this article on realtime metrics with bitstrings: https://blog.getspool.com/2011/11/29/fast-easy-realtime-metrics-using-redis-bitmaps/.
... i recommend instead
reading about redis's memory optimizations for small zsets: http://oldblog.antirez.com/post/everything-about-redis-24.html.
... you can rename keys with rename recommended
reading http://oldblog.antirez.com/post/redis-persistence-demystified.html/ ...
XPCOM Stream Guide
netutil.jsm provides apis for copying an input stream to an output stream (the asynccopy() method), getting an input stream from another source (the asyncfetch() method), and
reading an input stream into a string (the readinputstreamtostring() method).
... seekable streams some streams are "seekable": they let you specify where in the stream you are
reading from (instead of requiring it be from the beginning).
... nsconverteroutputstream @mozilla.org/intl/converter-output-stream;1 nsiconverteroutputstream .init(stream, charset, buffersize, replacechar) additional stream interfaces the nsilineinputstream interface supports a .readline() method for
reading a single line from an input stream.
...zing the pump, and telling it to asynchronously read data into the stream listener: var pump = components.classes["@mozilla.org/network/input-stream-pump;1"] .createinstance(components.interfaces.nsiinputstreampump); pump.init(stream, -1, -1, 0, 0, true); pump.asyncread(listener, context); nsipipe code examples file input and output for file input, see code snippets:
reading from a file.
Streams API concepts - Web APIs
only one reader can read a stream at a time; when a reader is created and starts
reading a stream (an active reader), we say it is locked to it.
... if you want another reader to start
reading your stream, you typically need to cancel the first reader before you do anything else (although you can tee streams, see the teeing section below) note that there are two different types of readable stream.
... as well as the conventional readable stream there is a type called a byte stream — this is an extended version of a conventional stream for
reading underlying byte sources (otherwise known as byob, or “bring your own buffer”) sources.
... backpressure an important concept in streams is backpressure — this is the process by which a single stream or a pipe chain regulates the speed of
reading/writing.
Implementing a Microsoft Active Accessibility (MSAA) Server - Accessibility
screen magnifiers will zoom to the focus, keeping it on the screen at all times, or even allow the user to enter a special low vision document
reading mode, with a variety of features such as ticker mode where text is streamed on a single line.
... myth: msaa has no documentation reality: you're
reading useful documentation right here.
... issues with links problem: some assistive technologies have inflexible heuristics when it comes to
reading links.
...automatic screen
reading of dialog boxes and status bars will often not work just because you're using the wrong class name, even if your msaa implementation is perfect, and everything else about the objects is completely normal.
Accessibility documentation index - Accessibility
40 x-ms-aria-flowfrom aria, microsoft, non-standard the x-ms-aria-flowfrom property specifies the id of the previous element in an alternative
reading order, allowing assistive technology to override the general default of
reading in document source order.
...screen readers will instantly start
reading out the updated content when the role is added.
... 60 aria: document role aria, aria role, document, reference generally used in complex composite widgets or applications, the document role can inform assistive technologies to switch context to a
reading mode: the document role tells assistive technologies with
reading or browse modes to use the document mode to read the content contained within this element.
...a feed enables screen readers to use the browse mode
reading cursor to both read and scroll through a stream of rich content that may continue scrolling infinitely by loading more content as the user reads.
<h1>–<h6>: The HTML Section Heading elements - HTML: Hypertext Markup Language
<h1>heading elements</h1> <h2>summary</h2> <p>some text here...</p> <h2>examples</h2> <h3>example 1</h3> <p>some text here...</p> <h3>example 2</h3> <p>some text here...</p> <h2>see also</h2> <p>some text here...</p> here is the result of this code: accessibility concerns navigation a common navigation technique for users of screen
reading software is jumping from heading to heading to quickly determine the content of the page.
...nding success criterion 1.3.1 | w3c understanding wcag 2.0 mdn understanding wcag, guideline 2.4 explanations understanding success criterion 2.4.1 | w3c understanding wcag 2.0 understanding success criterion 2.4.6 | w3c understanding wcag 2.0 understanding success criterion 2.4.10 | w3c understanding wcag 2.0 labeling section content another common navigation technique for users of screen
reading software is to generate a list of sectioning content and use it to determine the page's layout.
... example <header> <nav aria-labelledby="primary-navigation"> <h2 id="primary-navigation">primary navigation</h2> <!-- navigation items --> </nav> </header> <!-- page content --> <footer> <nav aria-labelledby="footer-navigation"> <h2 id="footer-navigation">footer navigation</h2> <!-- navigation items --> </nav> </footer> in this example, screen
reading technology would announce that there are two <nav> sections, one called "primary navigation" and one called "footer navigation".
... if labels were not provided, the person using screen
reading software may have to investigate each nav element's contents to determine their purpose.
Creating Reusable Modules - Archive of obsolete content
urn the two-digit hexadecimal code for a byte function tohexstring(charcode) { return ("0" + charcode.tostring(16)).slice(-2); } function md5file(path) { var f = cc["@mozilla.org/file/local;1"] .createinstance(ci.nsilocalfile); f.initwithpath(path); var istream = cc["@mozilla.org/network/file-input-stream;1"] .createinstance(ci.nsifileinputstream); // open for
reading istream.init(f, 0x01, 0444, 0); var ch = cc["@mozilla.org/security/hash;1"] .createinstance(ci.nsicryptohash); // we want to use the md5 algorithm ch.init(ch.md5); // this tells updatefromstream to read the entire file const pr_uint32_max = 0xffffffff; ch.updatefromstream(istream, pr_uint32_max); // pass false here to get binary data back var hash = ch.finish(false); ...
...urn the two-digit hexadecimal code for a byte function tohexstring(charcode) { return ("0" + charcode.tostring(16)).slice(-2); } function md5file(path) { var f = cc["@mozilla.org/file/local;1"] .createinstance(ci.nsilocalfile); f.initwithpath(path); var istream = cc["@mozilla.org/network/file-input-stream;1"] .createinstance(ci.nsifileinputstream); // open for
reading istream.init(f, 0x01, 0444, 0); var ch = cc["@mozilla.org/security/hash;1"] .createinstance(ci.nsicryptohash); // we want to use the md5 algorithm ch.init(ch.md5); // this tells updatefromstream to read the entire file const pr_uint32_max = 0xffffffff; ch.updatefromstream(istream, pr_uint32_max); // pass false here to get binary data back var hash = ch.finish(false); ...
...urn the two-digit hexadecimal code for a byte function tohexstring(charcode) { return ("0" + charcode.tostring(16)).slice(-2); } function md5file(path) { var f = cc["@mozilla.org/file/local;1"] .createinstance(ci.nsilocalfile); f.initwithpath(path); var istream = cc["@mozilla.org/network/file-input-stream;1"] .createinstance(ci.nsifileinputstream); // open for
reading istream.init(f, 0x01, 0444, 0); var ch = cc["@mozilla.org/security/hash;1"] .createinstance(ci.nsicryptohash); // we want to use the md5 algorithm ch.init(ch.md5); // this tells updatefromstream to read the entire file const pr_uint32_max = 0xffffffff; ch.updatefromstream(istream, pr_uint32_max); // pass false here to get binary data back var hash = ch.finish(false); ...
MMgc - Archive of obsolete content
th
reading the gc routines are not currently thread safe, we're operating under the assumption that none of the player spawned threads create gc'd things.
...th
reading gets more complicated because it makes sense to re-write chunkmalloc and chunkallocbase to get their blocks from the gcheap.
...another option is to check every page while doing the normal marking and it any of its cards where flagged handle them immediately since your already
reading/writing from that page.
Running Tamarin acceptance tests - Archive of obsolete content
notes on using acceptance runtests.py th
reading in order to speed up the execution time of the acceptance testsuite, the runtests script automatically detects the number of cores on the machine and sets an equivalent number of threads.
... this can be overrided with the threads flag: python ./runtests.py --threads=3 th
reading on cygwin / windows due to an issue with cygwin python, th
reading does not work, and threads will always be set to 1.
... in order to use th
reading on windows you must install windows python and invoke runtests using that python executable in cygwin.
Using gdb on wimpy computers - Archive of obsolete content
current language: auto; currently c (gdb) shar glib
reading symbols from /usr/lib/libglib-1.2.so.0...done.
...current language: auto; currently c (gdb) shar gtk
reading symbols from /usr/lib/libgtk-1.2.so.0...done.
... loaded symbols for /usr/lib/libgtk-1.2.so.0
reading symbols from /usr/lib/gtk/themes/engines/libthinice.so...done.
Writing to Files - Archive of obsolete content
file and stream guide: [ nsiscriptableio | accessing files | getting file information |
reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] important note: the pages from the file and stream guide use the io object (nsiscriptableio), which was not available in any released version of the platform (pending some fixes).
...other documentation on files and i/o not using the unavailable nsiscriptableio apis: code snippets: file i/o, open and save dialogs,
reading textual data, writing textual data, list of file-related error codes.
...you should ensure that the file is closed, so that the data is properly written and that the file can be reopened for
reading later.
IO - Archive of obsolete content
file and stream guide: [ nsiscriptableio | accessing files | getting file information |
reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] important note: the pages from the file and stream guide use the io object (nsiscriptableio), which was not available in any released version of the platform (pending some fixes).
...other documentation on files and i/o not using the unavailable nsiscriptableio apis: code snippets: file i/o, open and save dialogs,
reading textual data, writing textual data, list of file-related error codes.
...
reading from a file for information about
reading from text and binary files, see
reading from files.
Index - Archive of obsolete content
424 fileguide see io 425 accessing files file and stream guide: [ nsiscriptableio | accessing files | getting file information |
reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] 426 getting file information file and stream guide: [ nsiscriptableio | accessing files | getting file information |
reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with direct...
...ories ] 427 io file and stream guide: [ nsiscriptableio | accessing files | getting file information |
reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] 428 moving, copying and deleting files file and stream guide: [ nsiscriptableio | accessing files | getting file information |
reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] 429
reading from files file and stream guide: [ nsiscriptableio | accessing files | getting file information |
reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with ...
...directories ] 430 toc file and stream guide: [ nsiscriptableio | accessing files | getting file information |
reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] 431 uploading and downloading files file and stream guide: [ nsiscriptableio | accessing files | getting file information |
reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] 432 working with directories file and stream guide: [ nsiscriptableio | accessing files | getting file information |
reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | wor...
HTML: A good basis for accessibility - Learn web development
another alternative is to use the aria role attribute role="presentation" as this also stops screen readers from
reading out alternative text.
... people experiencing low vision conditions, who are navigating with the aid of screen
reading technology, or who have cognitive concerns may become confused when the new tab, window, or application is opened unexpectedly.
... older versions of screen
reading software may not even announce the behavior.
HTML: A good basis for accessibility - Learn web development
another alternative is to use the aria role attribute role="presentation" as this also stops screen readers from
reading out alternative text.
... people experiencing low vision conditions, who are navigating with the aid of screen
reading technology, or who have cognitive concerns may become confused when the new tab, window, or application is opened unexpectedly.
... older versions of screen
reading software may not even announce the behavior.
Creating hyperlinks - Learn web development
for example: screenreader users like jumping around from link to link on the page, and
reading links out of context.
... visual readers skim over the page rather than
reading every word, and their eyes will be drawn to page features that stand out, like links.
... for a start, it's easier to scan your code — relative urls are generally shorter than absolute urls, which makes
reading code much easier.
Index - Learn web development
this article provides some hints and tips in both of these areas that will help you get more out of learning web development, as well as further
reading so you can find out more information about each sub-topic should you wish..
... 267 strategies for carrying out testing article, automation, beginner, codingscripting, learn, testing, concepts, cross browser, device lab, user testing, virtual machine after
reading this article you should now have a good idea of what you can do to identify your target audience/target browser list, and then effectively carry out cross-browser testing on that list.
...if you are
reading this on mdn, you are at the right place to start.
React interactivity: Events and state - Learn web development
reading state you can see the name state in action right away.
... const [name, setname] = usestate('');
reading user input before we can change the value of name, we need to capture a user's input as they type.
...we can do this inside handlechange() by
reading e.target.value.
Multiprocess on Windows
prerequisite
reading since so much of this design resolves around microsoft com and its concept of the apartment, readers of this document should have a solid understanding of what apartments are.
...since gecko's main thread uses com, and com requires threads to declare their th
reading model, the main thread must initialize itself to live inside its own single threaded apartment (sta).
... as you should already know from the prerequisite
reading, single threaded apartments receive remote procedure calls (rpcs) from com, via the windows message queue.
Software accessibility: Where are we today?
some examples of these assistive devices and software include: screen
reading software, which speaks text displayed on the screen using hardware or software text-to-speech, and which allows a blind person to use the keyboard to simulate mouse actions alternate input devices, which allow people with physical disabilities to use alternatives to a keyboard and mouse voice recognition software, which allows a person to simulate typing on a keyboard or selecting with a mous...
... braille a solution used for quiet
reading, for detailed work, and by deaf-blind users.
...realizing that complete accessibility was not possible without cooperation between applications and accessibility aids such as screen
reading software or voice recognition software, microsoft active accessibility defines a windows-based standard by which applications can communicate context and other pertanent information to accessibility aids.
PR_Available
determines the number of bytes (expressed as a 32-bit integer) that are available for
reading beyond the current read-write pointer in a specified file or socket.
... returns the function returns one of the following values: if the function completes successfully, it returns the number of bytes that are available for
reading.
... see also if the number of bytes available for
reading is out of the range of a 32-bit integer, use pr_available64.
PR_Available64
determines the number of bytes (expressed as a 32-bit integer) that are available for
reading beyond the current read-write pointer in a specified file or socket.
... returns the function returns one of the following values: if the function completes successfully, it returns the number of bytes that are available for
reading.
... see also if the number of bytes available for
reading is within the range of a 32-bit integer, use pr_available.
PR_Open
opens a file for
reading, writing, or both.
... name value description pr_rdonly 0x01 open for
reading only.
... pr_rdwr 0x04 open for
reading and writing.
NSS FAQ
to provide cross-platform support, nss utilizes netscape portable runtime (nspr) libraries as a portability interface and implementation that provides consistent cross-platform semantics for network i/o and th
reading models.
...mozilla strongly recommends that multithreaded applications use the nspr or native os th
reading model.
... (in recent nspr releases, the nspr th
reading model is compatible with the native th
reading model if the os has native threads.) alternatively, you can adapt the open-source nspr implementation to be compatible with your existing application's th
reading models.
JSS FAQ
can i have multiple jss instances
reading separate db's?
...jss only supports the native th
reading model (no green threads).
... can i have multiple jss instances
reading separate db's?
Python binding for NSS
support th
reading.
... remove checks for whether a socket is open for
reading.
... sockets now support the iter protocol added methods: socket.readlines() socket.sendall() apply patches from miloslav trmač <mitr@redhat.com> for ref counting and th
reading support.
Accessing the Windows Registry Using XPCOM
you can read the interface documentation for a full explanation, but we will show only the three most commonly used modes here: access_read — for
reading values, enumerating keys, and receiving notifications access_write — for setting values and creating sub keys access_all — access for all operations in addition to open() and create(), there are the openchild() and createchild() methods.
...
reading registry values probably the most common action associated with the windows registry is
reading values.
...h (wrk.getvaluetype(value)) { case wrk.type_string: return wrk.readstringvalue(value); case wrk.type_binary: return wrk.readbinaryvalue(value); case wrk.type_int: return wrk.readintvalue(value); case wrk.type_int64: return wrk.readint64value(value); } // unknown type return null; } writing registry values writing registry values is quite similar to
reading.
Mozilla internal string guide
iterators because mozilla strings are always a single buffer, iteration over the characters in the string is done using raw pointers: /** * find whether there is a tab character in `data` */ bool hastab(const nsastring& data) { const char16_t* cur = data.begin
reading(); const char16_t* end = data.end
reading(); for (; cur < end; ++cur) { if (char16_t('\t') == *cur) return true; } return false; } note that `end` points to the character after the end of the string buffer.
... an example: const nsastring& str = getsomestring(); nsastring::const_iterator start, end; str.begin
reading(start); str.end
reading(end); constexpr auto valueprefix = u"value="_ns; if (findinreadable(valueprefix, start, end)) { // end now points to the character after the pattern valuestart = end; } checking for memory allocation failure the string classes now use infallible memory allocation, so you do not need to check for success when allocating/resizing "normal" strings.
... begin
reading(iterator) end
reading(iterator) equals(string[, comparator]) first() last() countchar() left(outstring, length) mid(outstring, position, length) right(outstring, length) findchar(character) methods that modify the string.
NS_ConvertASCIItoUTF16
overview constructors operator= get find rfind rfindchar findcharinset rfindcharinset equalsignorecase tofloat tointeger mid left right setcharat stripchars stripwhitespace replacechar replacesubstring trim compresswhitespace assignwithconversion appendwithconversion appendint appendfloat begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat operator[] first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequalsliteral(const char lowercaseequalsliteral(char assign assignascii assignliteral(c...
...2, print32) - source append the given unsigned integer to this string parameters pruint32 ainteger print32 aradix void appendint(print64, print32) - source parameters print64 ainteger print32 aradix appendfloat void appendfloat(float) - source append the given float to this string parameters float afloat void appendfloat(double) - source parameters double afloat begin
reading prunichar* begin
reading() const - source
reading iterators ns
readingiterator<short unsigned int>& begin
reading(ns
readingiterator<short unsigned int>&) const - source deprecated
reading iterators parameters ns
readingiterator<short unsigned int>& iter prunichar*& begin
reading(const prunichar*&) const - source parameters prunichar*& iter end
reading prunichar* end
reading() const...
... - source ns
readingiterator<short unsigned int>& end
reading(ns
readingiterator<short unsigned int>&) const - source parameters ns
readingiterator<short unsigned int>& iter prunichar*& end
reading(const prunichar*&) const - source parameters prunichar*& iter beginwriting prunichar* beginwriting() - source writing iterators nswritingiterator<short unsigned int>& beginwriting(nswritingiterator<short unsigned int>&) - source deprecated writing iterators parameters nswritingiterator<short unsigned int>& iter prunichar*& beginwriting(prunichar*&) - source parameters prunichar*& iter endwriting prunichar* endwriting() - source nswritingiterator<short unsigned int>& endwriting(nswritingiterator<short unsigned int>&) - source parameters nswritingiterator<short uns...
NS ConvertASCIItoUTF16 external
class declaration method overview constructors get operator= adopt begin
reading end
reading charat operator[] first beginwriting endwriting setlength length isempty setisvoid isvoid assign assignliteral replace append appendliteral operator+= insert cut truncate stripchars stripwhitespace trim defaultcomparator compare equals operator< operator<= operator== operator>= operator> operator!= equalsliteral lowercaseequalsliteral find ...
...ing& astring nsastring& operator=(const prunichar*) - source parameters prunichar* aptr nsastring& operator=(prunichar) - source parameters prunichar achar adopt void adopt(const prunichar*, pruint32) - source parameters prunichar* adata pruint32 alength begin
reading pruint32 begin
reading(const prunichar**, const prunichar**) const - source returns the length, beginning, and end of a string in one operation.
... parameters prunichar** begin prunichar** end prunichar* begin
reading() const - source end
reading prunichar* end
reading() const - source charat prunichar charat(pruint32) const - source parameters pruint32 apos operator[] prunichar operator[](pruint32) const - source parameters pruint32 apos first prunichar first() const - source beginwriting pruint32 beginwriting(prunichar**, prunichar**, pruint32) - source get the length, begin writing, and optionally set the length of a string all in one operation.
NS_ConvertUTF16toUTF8
constructors operator= get find rfind rfindchar findcharinset rfindcharinset compare equalsignorecase tofloat tointeger mid left right setcharat stripchars stripwhitespace replacechar replacesubstring trim compresswhitespace assignwithconversion appendwithconversion appendint appendfloat begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat operator[] first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequalsliteral(const char lowercaseequalsliteral(char assign assignascii assignliteral(c...
...2, print32) - source append the given unsigned integer to this string parameters pruint32 ainteger print32 aradix void appendint(print64, print32) - source parameters print64 ainteger print32 aradix appendfloat void appendfloat(float) - source append the given float to this string parameters float afloat void appendfloat(double) - source parameters double afloat begin
reading char* begin
reading() const - source
reading iterators ns
readingiterator<char>& begin
reading(ns
readingiterator<char>&) const - source deprecated
reading iterators parameters ns
readingiterator<char>& iter char*& begin
reading(const char*&) const - source parameters char*& iter end
reading char* end
reading() const - source ns
readingiterator<char>& end
reading(ns
readingiterator<...
...char>&) const - source parameters ns
readingiterator<char>& iter char*& end
reading(const char*&) const - source parameters char*& iter beginwriting char* beginwriting() - source writing iterators nswritingiterator<char>& beginwriting(nswritingiterator<char>&) - source deprecated writing iterators parameters nswritingiterator<char>& iter char*& beginwriting(char*&) - source parameters char*& iter endwriting char* endwriting() - source nswritingiterator<char>& endwriting(nswritingiterator<char>&) - source parameters nswritingiterator<char>& iter char*& endwriting(char*&) - source parameters char*& iter data char* data() const - source accessors length pruint32 length() const - source isempty prbool isempty() const - source is...
NS ConvertUTF16toUTF8 external
class declaration method overview constructors get operator= adopt begin
reading end
reading charat operator[] first beginwriting endwriting setlength length isempty setisvoid isvoid assign assignliteral replace append appendliteral operator+= insert cut truncate stripchars stripwhitespace trim defaultcomparator compare equals operator< operator<= operator== operator>= operator> operator!= equalsliteral find rfind findchar ...
...parameters nsacstring& astring nsacstring& operator=(const char*) - source parameters char* aptr nsacstring& operator=(char) - source parameters char achar adopt void adopt(const char*, pruint32) - source parameters char* adata pruint32 alength begin
reading pruint32 begin
reading(const char**, const char**) const - source returns the length, beginning, and end of a string in one operation.
... parameters char** begin char** end char* begin
reading() const - source end
reading char* end
reading() const - source charat char charat(pruint32) const - source parameters pruint32 apos operator[] char operator[](pruint32) const - source parameters pruint32 apos first char first() const - source beginwriting pruint32 beginwriting(char**, char**, pruint32) - source get the length, begin writing, and optionally set the length of a string all in one operation.
NS_ConvertUTF8toUTF16
overview constructors operator= get find rfind rfindchar findcharinset rfindcharinset equalsignorecase tofloat tointeger mid left right setcharat stripchars stripwhitespace replacechar replacesubstring trim compresswhitespace assignwithconversion appendwithconversion appendint appendfloat begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat operator[] first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequalsliteral(const char lowercaseequalsliteral(char assign assignascii assignliteral(c...
...2, print32) - source append the given unsigned integer to this string parameters pruint32 ainteger print32 aradix void appendint(print64, print32) - source parameters print64 ainteger print32 aradix appendfloat void appendfloat(float) - source append the given float to this string parameters float afloat void appendfloat(double) - source parameters double afloat begin
reading prunichar* begin
reading() const - source
reading iterators ns
readingiterator<short unsigned int>& begin
reading(ns
readingiterator<short unsigned int>&) const - source deprecated
reading iterators parameters ns
readingiterator<short unsigned int>& iter prunichar*& begin
reading(const prunichar*&) const - source parameters prunichar*& iter end
reading prunichar* end
reading() const...
... - source ns
readingiterator<short unsigned int>& end
reading(ns
readingiterator<short unsigned int>&) const - source parameters ns
readingiterator<short unsigned int>& iter prunichar*& end
reading(const prunichar*&) const - source parameters prunichar*& iter beginwriting prunichar* beginwriting() - source writing iterators nswritingiterator<short unsigned int>& beginwriting(nswritingiterator<short unsigned int>&) - source deprecated writing iterators parameters nswritingiterator<short unsigned int>& iter prunichar*& beginwriting(prunichar*&) - source parameters prunichar*& iter endwriting prunichar* endwriting() - source nswritingiterator<short unsigned int>& endwriting(nswritingiterator<short unsigned int>&) - source parameters nswritingiterator<short uns...
NS ConvertUTF8toUTF16 external
class declaration method overview constructors get operator= adopt begin
reading end
reading charat operator[] first beginwriting endwriting setlength length isempty setisvoid isvoid assign assignliteral replace append appendliteral operator+= insert cut truncate stripchars stripwhitespace trim defaultcomparator compare equals operator< operator<= operator== operator>= operator> operator!= equalsliteral lowercaseequalsliteral find ...
...ing& astring nsastring& operator=(const prunichar*) - source parameters prunichar* aptr nsastring& operator=(prunichar) - source parameters prunichar achar adopt void adopt(const prunichar*, pruint32) - source parameters prunichar* adata pruint32 alength begin
reading pruint32 begin
reading(const prunichar**, const prunichar**) const - source returns the length, beginning, and end of a string in one operation.
... parameters prunichar** begin prunichar** end prunichar* begin
reading() const - source end
reading prunichar* end
reading() const - source charat prunichar charat(pruint32) const - source parameters pruint32 apos operator[] prunichar operator[](pruint32) const - source parameters pruint32 apos first prunichar first() const - source beginwriting pruint32 beginwriting(prunichar**, prunichar**, pruint32) - source get the length, begin writing, and optionally set the length of a string all in one operation.
NS_LossyConvertUTF16toASCII
constructors operator= get find rfind rfindchar findcharinset rfindcharinset compare equalsignorecase tofloat tointeger mid left right setcharat stripchars stripwhitespace replacechar replacesubstring trim compresswhitespace assignwithconversion appendwithconversion appendint appendfloat begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat operator[] first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequalsliteral(const char lowercaseequalsliteral(char assign assignascii assignliteral(c...
...2, print32) - source append the given unsigned integer to this string parameters pruint32 ainteger print32 aradix void appendint(print64, print32) - source parameters print64 ainteger print32 aradix appendfloat void appendfloat(float) - source append the given float to this string parameters float afloat void appendfloat(double) - source parameters double afloat begin
reading char* begin
reading() const - source
reading iterators ns
readingiterator<char>& begin
reading(ns
readingiterator<char>&) const - source deprecated
reading iterators parameters ns
readingiterator<char>& iter char*& begin
reading(const char*&) const - source parameters char*& iter end
reading char* end
reading() const - source ns
readingiterator<char>& end
reading(ns
readingiterator<...
...char>&) const - source parameters ns
readingiterator<char>& iter char*& end
reading(const char*&) const - source parameters char*& iter beginwriting char* beginwriting() - source writing iterators nswritingiterator<char>& beginwriting(nswritingiterator<char>&) - source deprecated writing iterators parameters nswritingiterator<char>& iter char*& beginwriting(char*&) - source parameters char*& iter endwriting char* endwriting() - source nswritingiterator<char>& endwriting(nswritingiterator<char>&) - source parameters nswritingiterator<char>& iter char*& endwriting(char*&) - source parameters char*& iter data char* data() const - source accessors length pruint32 length() const - source isempty prbool isempty() const - source is...
NS LossyConvertUTF16toASCII external
class declaration method overview constructors get operator= adopt begin
reading end
reading charat operator[] first beginwriting endwriting setlength length isempty setisvoid isvoid assign assignliteral replace append appendliteral operator+= insert cut truncate stripchars stripwhitespace trim defaultcomparator compare equals operator< operator<= operator== operator>= operator> operator!= equalsliteral find rfind findchar ...
...parameters nsacstring& astring nsacstring& operator=(const char*) - source parameters char* aptr nsacstring& operator=(char) - source parameters char achar adopt void adopt(const char*, pruint32) - source parameters char* adata pruint32 alength begin
reading pruint32 begin
reading(const char**, const char**) const - source returns the length, beginning, and end of a string in one operation.
... parameters char** begin char** end char* begin
reading() const - source end
reading char* end
reading() const - source charat char charat(pruint32) const - source parameters pruint32 apos operator[] char operator[](pruint32) const - source parameters pruint32 apos first char first() const - source beginwriting pruint32 beginwriting(char**, char**, pruint32) - source get the length, begin writing, and optionally set the length of a string all in one operation.
PromiseFlatCString (External)
class declaration method overview get operator= adopt begin
reading end
reading charat operator[] first beginwriting endwriting setlength length isempty setisvoid isvoid assign assignliteral replace append appendliteral operator+= insert cut truncate stripchars stripwhitespace trim defaultcomparator compare equals operator< operator<= operator== operator>= operator> operator!= equalsliteral find rfind findchar rfindchar ...
...parameters nsacstring& astring nsacstring& operator=(const char*) - source parameters char* aptr nsacstring& operator=(char) - source parameters char achar adopt void adopt(const char*, pruint32) - source parameters char* adata pruint32 alength begin
reading pruint32 begin
reading(const char**, const char**) const - source returns the length, beginning, and end of a string in one operation.
... parameters char** begin char** end char* begin
reading() const - source end
reading char* end
reading() const - source charat char charat(pruint32) const - source parameters pruint32 apos operator[] char operator[](pruint32) const - source parameters pruint32 apos first char first() const - source beginwriting pruint32 beginwriting(char**, char**, pruint32) - source get the length, begin writing, and optionally set the length of a string all in one operation.
PromiseFlatString (External)
class declaration method overview get operator= adopt begin
reading end
reading charat operator[] first beginwriting endwriting setlength length isempty setisvoid isvoid assign assignliteral replace append appendliteral operator+= insert cut truncate stripchars stripwhitespace trim defaultcomparator compare equals operator< operator<= operator== operator>= operator> operator!= equalsliteral lowercaseequalsliteral find rfind find...
...ing& astring nsastring& operator=(const prunichar*) - source parameters prunichar* aptr nsastring& operator=(prunichar) - source parameters prunichar achar adopt void adopt(const prunichar*, pruint32) - source parameters prunichar* adata pruint32 alength begin
reading pruint32 begin
reading(const prunichar**, const prunichar**) const - source returns the length, beginning, and end of a string in one operation.
... parameters prunichar** begin prunichar** end prunichar* begin
reading() const - source end
reading prunichar* end
reading() const - source charat prunichar charat(pruint32) const - source parameters pruint32 apos operator[] prunichar operator[](pruint32) const - source parameters pruint32 apos first prunichar first() const - source beginwriting pruint32 beginwriting(prunichar**, prunichar**, pruint32) - source get the length, begin writing, and optionally set the length of a string all in one operation.
nsACString (External)
e="ns_convertutf16toutf8_external"> <area alt="" coords="499,294,779,342" href="http://developer.mozilla.org/en/ns_lossyconvertutf16toascii_external" shape="rect" title="ns_lossyconvertutf16toascii_external"> <area alt="" coords="803,294,925,342" href="http://developer.mozilla.org/en/nsliteralcstring_(external)" shape="rect" title="nsliteralcstring_(external)"></map> method overview begin
reading end
reading charat operator[] first beginwriting endwriting setlength length isempty setisvoid isvoid assign assignliteral operator= replace append appendliteral operator+= insert cut truncate stripchar...
...methods begin
reading pruint32 begin
reading(const char**, const char**) const - source returns the length, beginning, and end of a string in one operation.
... parameters char** begin char** end char* begin
reading() const - source end
reading char* end
reading() const - source charat char charat(pruint32) const - source parameters pruint32 apos operator[] char operator[](pruint32) const - source parameters pruint32 apos first char first() const - source beginwriting pruint32 beginwriting(char**, char**, pruint32) - source get the length, begin writing, and optionally set the length of a string all in one operation.
nsACString_internal
syconvertutf16toascii" shape="rect" title="ns_lossyconvertutf16toascii"> <area alt="" coords="251,389,435,437" href="http://developer.mozilla.org/en/ns_convertutf16toutf8" shape="rect" title="ns_convertutf16toutf8"> <area alt="" coords="309,293,445,341" href="http://developer.mozilla.org/en/nsadoptingcstring" shape="rect" title="nsadoptingcstring"> </map> method overview constructors begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat operator[] first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequalsliteral(const char lowercaseequalsliteral(char assign assignascii assignliteral(c...
...parameters nscsubstringtuple& tuple void nsacstring_internal(char*, pruint32, pruint32) - source parameters char* data pruint32 length pruint32 flags begin
reading char* begin
reading() const - source
reading iterators ns
readingiterator<char>& begin
reading(ns
readingiterator<char>&) const - source deprecated
reading iterators parameters ns
readingiterator<char>& iter char*& begin
reading(const char*&) const - source parameters char*& iter end
reading char* end
reading() const - source ns
readingiterator<char>& end
reading(ns
readingiterator<...
...char>&) const - source parameters ns
readingiterator<char>& iter char*& end
reading(const char*&) const - source parameters char*& iter beginwriting char* beginwriting() - source writing iterators nswritingiterator<char>& beginwriting(nswritingiterator<char>&) - source deprecated writing iterators parameters nswritingiterator<char>& iter char*& beginwriting(char*&) - source parameters char*& iter endwriting char* endwriting() - source nswritingiterator<char>& endwriting(nswritingiterator<char>&) - source parameters nswritingiterator<char>& iter char*& endwriting(char*&) - source parameters char*& iter data char* data() const - source accessors length pruint32 length() const - source isempty prbool isempty() const - source is...
nsAString
methods begin
reading the begin
reading function returns a const pointer to the first element of the string's internal buffer.
... end
reading the end
reading function returns a const char_type pointer to the element just beyond the last element of the string's internal buffer.
...see also nsastring::length, end
reading, ns_stringgetdata, nsembedstring ...
nsAString (External)
shape="rect" title="ns_convertasciitoutf16_external"> <area alt="" coords="491,294,733,342" href="http://developer.mozilla.org/en/ns_convertutf8toutf16_external" shape="rect" title="ns_convertutf8toutf16_external"> <area alt="" coords="757,294,869,342" href="http://developer.mozilla.org/en/nsliteralstring_(external)" shape="rect" title="nsliteralstring_(external)"> </map> method overview begin
reading end
reading charat operator[] first beginwriting endwriting setlength length isempty setisvoid isvoid assign assignliteral operator= replace append appendliteral operator+= insert cut truncate stripchars stripwhitespace trim defaultcomparator compare equals operator< operator<= operator== operator>= operator> operator!= equalslite...
...methods begin
reading pruint32 begin
reading(const prunichar**, const prunichar**) const - source returns the length, beginning, and end of a string in one operation.
... parameters prunichar** begin prunichar** end prunichar* begin
reading() const - source end
reading prunichar* end
reading() const - source charat prunichar charat(pruint32) const - source parameters pruint32 apos operator[] prunichar operator[](pruint32) const - source parameters pruint32 apos first prunichar first() const - source beginwriting pruint32 beginwriting(prunichar**, prunichar**, pruint32) - source get the length, begin writing, and optionally set the length of a string all in one operation.
nsAString_internal
rg/en/ns_convertasciitoutf16" shape="rect" title="ns_convertasciitoutf16"> <area alt="" coords="216,389,400,437" href="http://developer.mozilla.org/en/ns_convertutf8toutf16" shape="rect" title="ns_convertutf8toutf16"> <area alt="" coords="277,293,405,341" href="http://developer.mozilla.org/en/nsadoptingstring" shape="rect" title="nsadoptingstring"> </map> method overview constructors begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat operator[] first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequalsliteral(const char lowercaseequalsliteral(char assign assignascii assignliteral(c...
...parameters nssubstringtuple& tuple void nsastring_internal(prunichar*, pruint32, pruint32) - source parameters prunichar* data pruint32 length pruint32 flags begin
reading prunichar* begin
reading() const - source
reading iterators ns
readingiterator<short unsigned int>& begin
reading(ns
readingiterator<short unsigned int>&) const - source deprecated
reading iterators parameters ns
readingiterator<short unsigned int>& iter prunichar*& begin
reading(const prunichar*&) const - source parameters prunichar*& iter end
reading prunichar* end
reading() const...
... - source ns
readingiterator<short unsigned int>& end
reading(ns
readingiterator<short unsigned int>&) const - source parameters ns
readingiterator<short unsigned int>& iter prunichar*& end
reading(const prunichar*&) const - source parameters prunichar*& iter beginwriting prunichar* beginwriting() - source writing iterators nswritingiterator<short unsigned int>& beginwriting(nswritingiterator<short unsigned int>&) - source deprecated writing iterators parameters nswritingiterator<short unsigned int>& iter prunichar*& beginwriting(prunichar*&) - source parameters prunichar*& iter endwriting prunichar* endwriting() - source nswritingiterator<short unsigned int>& endwriting(nswritingiterator<short unsigned int>&) - source parameters nswritingiterator<short uns...
nsAdoptingCString
r const char* operator[] get find rfind rfindchar findcharinset rfindcharinset compare equalsignorecase tofloat tointeger mid left right setcharat stripchars stripwhitespace replacechar replacesubstring trim compresswhitespace assignwithconversion appendwithconversion appendint appendfloat begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequalsliteral(const char lowercaseequalsliteral(char assign assignascii assignliteral(const char a...
...2, print32) - source append the given unsigned integer to this string parameters pruint32 ainteger print32 aradix void appendint(print64, print32) - source parameters print64 ainteger print32 aradix appendfloat void appendfloat(float) - source append the given float to this string parameters float afloat void appendfloat(double) - source parameters double afloat begin
reading char* begin
reading() const - source
reading iterators ns
readingiterator<char>& begin
reading(ns
readingiterator<char>&) const - source deprecated
reading iterators parameters ns
readingiterator<char>& iter char*& begin
reading(const char*&) const - source parameters char*& iter end
reading char* end
reading() const - source ns
readingiterator<char>& end
reading(ns
readingiterator<...
...char>&) const - source parameters ns
readingiterator<char>& iter char*& end
reading(const char*&) const - source parameters char*& iter beginwriting char* beginwriting() - source writing iterators nswritingiterator<char>& beginwriting(nswritingiterator<char>&) - source deprecated writing iterators parameters nswritingiterator<char>& iter char*& beginwriting(char*&) - source parameters char*& iter endwriting char* endwriting() - source nswritingiterator<char>& endwriting(nswritingiterator<char>&) - source parameters nswritingiterator<char>& iter char*& endwriting(char*&) - source parameters char*& iter data char* data() const - source accessors length pruint32 length() const - source isempty prbool isempty() const - source is...
nsAdoptingString
operator const prunichar* operator[] get find rfind rfindchar findcharinset rfindcharinset equalsignorecase tofloat tointeger mid left right setcharat stripchars stripwhitespace replacechar replacesubstring trim compresswhitespace assignwithconversion appendwithconversion appendint appendfloat begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequalsliteral(const char lowercaseequalsliteral(char assign assignascii assignliteral(const char a...
...2, print32) - source append the given unsigned integer to this string parameters pruint32 ainteger print32 aradix void appendint(print64, print32) - source parameters print64 ainteger print32 aradix appendfloat void appendfloat(float) - source append the given float to this string parameters float afloat void appendfloat(double) - source parameters double afloat begin
reading prunichar* begin
reading() const - source
reading iterators ns
readingiterator<short unsigned int>& begin
reading(ns
readingiterator<short unsigned int>&) const - source deprecated
reading iterators parameters ns
readingiterator<short unsigned int>& iter prunichar*& begin
reading(const prunichar*&) const - source parameters prunichar*& iter end
reading prunichar* end
reading() const...
... - source ns
readingiterator<short unsigned int>& end
reading(ns
readingiterator<short unsigned int>&) const - source parameters ns
readingiterator<short unsigned int>& iter prunichar*& end
reading(const prunichar*&) const - source parameters prunichar*& iter beginwriting prunichar* beginwriting() - source writing iterators nswritingiterator<short unsigned int>& beginwriting(nswritingiterator<short unsigned int>&) - source deprecated writing iterators parameters nswritingiterator<short unsigned int>& iter prunichar*& beginwriting(prunichar*&) - source parameters prunichar*& iter endwriting prunichar* endwriting() - source nswritingiterator<short unsigned int>& endwriting(nswritingiterator<short unsigned int>&) - source parameters nswritingiterator<short uns...
nsAutoString
overview constructors operator= get find rfind rfindchar findcharinset rfindcharinset equalsignorecase tofloat tointeger mid left right setcharat stripchars stripwhitespace replacechar replacesubstring trim compresswhitespace assignwithconversion appendwithconversion appendint appendfloat begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat operator[] first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequalsliteral(const char lowercaseequalsliteral(char assign assignascii assignliteral(c...
...2, print32) - source append the given unsigned integer to this string parameters pruint32 ainteger print32 aradix void appendint(print64, print32) - source parameters print64 ainteger print32 aradix appendfloat void appendfloat(float) - source append the given float to this string parameters float afloat void appendfloat(double) - source parameters double afloat begin
reading prunichar* begin
reading() const - source
reading iterators ns
readingiterator<short unsigned int>& begin
reading(ns
readingiterator<short unsigned int>&) const - source deprecated
reading iterators parameters ns
readingiterator<short unsigned int>& iter prunichar*& begin
reading(const prunichar*&) const - source parameters prunichar*& iter end
reading prunichar* end
reading() const...
... - source ns
readingiterator<short unsigned int>& end
reading(ns
readingiterator<short unsigned int>&) const - source parameters ns
readingiterator<short unsigned int>& iter prunichar*& end
reading(const prunichar*&) const - source parameters prunichar*& iter beginwriting prunichar* beginwriting() - source writing iterators nswritingiterator<short unsigned int>& beginwriting(nswritingiterator<short unsigned int>&) - source deprecated writing iterators parameters nswritingiterator<short unsigned int>& iter prunichar*& beginwriting(prunichar*&) - source parameters prunichar*& iter endwriting prunichar* endwriting() - source nswritingiterator<short unsigned int>& endwriting(nswritingiterator<short unsigned int>&) - source parameters nswritingiterator<short uns...
nsAutoString (External)
class declaration method overview get operator= adopt begin
reading end
reading charat operator[] first beginwriting endwriting setlength length isempty setisvoid isvoid assign assignliteral replace append appendliteral operator+= insert cut truncate stripchars stripwhitespace trim defaultcomparator compare equals operator< operator<= operator== operator>= operator> operator!= equalsliteral lowercaseequalsliteral find rfind find...
...ing& astring nsastring& operator=(const prunichar*) - source parameters prunichar* aptr nsastring& operator=(prunichar) - source parameters prunichar achar adopt void adopt(const prunichar*, pruint32) - source parameters prunichar* adata pruint32 alength begin
reading pruint32 begin
reading(const prunichar**, const prunichar**) const - source returns the length, beginning, and end of a string in one operation.
... parameters prunichar** begin prunichar** end prunichar* begin
reading() const - source end
reading prunichar* end
reading() const - source charat prunichar charat(pruint32) const - source parameters pruint32 apos operator[] prunichar operator[](pruint32) const - source parameters pruint32 apos first prunichar first() const - source beginwriting pruint32 beginwriting(prunichar**, prunichar**, pruint32) - source get the length, begin writing, and optionally set the length of a string all in one operation.
nsCAutoString
ndcharinset compare equalsignorecase tofloat tointeger mid left right setcharat stripchars stripwhitespace replacechar replacesubstring trim compresswhitespace assignwithconversion appendwithconversion appendint appendfloat begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat operator[] first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequ...
...n unsigned integer to this string parameters pruint32 ainteger print32 aradix void appendint(print64, print32) - source parameters print64 ainteger print32 aradix appendfloat void appendfloat(float) - source append the given float to this string parameters float afloat void appendfloat(double) - source parameters double afloat begin
reading char* begin
reading() const - source
reading iterators ns
readingiterator<char>& begin
reading(ns
readingiterator<char>&) const - source deprecated
reading iterators parameters ns
readingiterator<char>& iter char*& begin
reading(const char*&) const - source parameters char*& iter end
reading char* end
reading() const - source ns
readingiterator<char>& endread...
...ing(ns
readingiterator<char>&) const - source parameters ns
readingiterator<char>& iter char*& end
reading(const char*&) const - source parameters char*& iter beginwriting char* beginwriting() - source writing iterators nswritingiterator<char>& beginwriting(nswritingiterator<char>&) - source deprecated writing iterators parameters nswritingiterator<char>& iter char*& beginwriting(char*&) - source parameters char*& iter endwriting char* endwriting() - source nswritingiterator<char>& endwriting(nswritingiterator<char>&) - source parameters nswritingiterator<char>& iter char*& endwriting(char*&) - source parameters char*& iter data char* data() const - source accessors length pruint32...
nsCAutoString (External)
class declaration method overview get operator= adopt begin
reading end
reading charat operator[] first beginwriting endwriting setlength length isempty setisvoid isvoid assign assignliteral replace append appendliteral operator+= insert cut truncate stripchars stripwhitespace trim defaultcomparator compare equals operator< operator<= operator== operator>= operator> operator!= equalsliteral find rfind findchar rfindchar ...
...parameters nsacstring& astring nsacstring& operator=(const char*) - source parameters char* aptr nsacstring& operator=(char) - source parameters char achar adopt void adopt(const char*, pruint32) - source parameters char* adata pruint32 alength begin
reading pruint32 begin
reading(const char**, const char**) const - source returns the length, beginning, and end of a string in one operation.
... parameters char** begin char** end char* begin
reading() const - source end
reading char* end
reading() const - source charat char charat(pruint32) const - source parameters pruint32 apos operator[] char operator[](pruint32) const - source parameters pruint32 apos first char first() const - source beginwriting pruint32 beginwriting(char**, char**, pruint32) - source get the length, begin writing, and optionally set the length of a string all in one operation.
nsCString
constructors operator= get find rfind rfindchar findcharinset rfindcharinset compare equalsignorecase tofloat tointeger mid left right setcharat stripchars stripwhitespace replacechar replacesubstring trim compresswhitespace assignwithconversion appendwithconversion appendint appendfloat begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat operator[] first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequalsliteral(const char lowercaseequalsliteral(char assign assignascii assignliteral(c...
...2, print32) - source append the given unsigned integer to this string parameters pruint32 ainteger print32 aradix void appendint(print64, print32) - source parameters print64 ainteger print32 aradix appendfloat void appendfloat(float) - source append the given float to this string parameters float afloat void appendfloat(double) - source parameters double afloat begin
reading char* begin
reading() const - source
reading iterators ns
readingiterator<char>& begin
reading(ns
readingiterator<char>&) const - source deprecated
reading iterators parameters ns
readingiterator<char>& iter char*& begin
reading(const char*&) const - source parameters char*& iter end
reading char* end
reading() const - source ns
readingiterator<char>& end
reading(ns
readingiterator<...
...char>&) const - source parameters ns
readingiterator<char>& iter char*& end
reading(const char*&) const - source parameters char*& iter beginwriting char* beginwriting() - source writing iterators nswritingiterator<char>& beginwriting(nswritingiterator<char>&) - source deprecated writing iterators parameters nswritingiterator<char>& iter char*& beginwriting(char*&) - source parameters char*& iter endwriting char* endwriting() - source nswritingiterator<char>& endwriting(nswritingiterator<char>&) - source parameters nswritingiterator<char>& iter char*& endwriting(char*&) - source parameters char*& iter data char* data() const - source accessors length pruint32 length() const - source isempty prbool isempty() const - source is...
nsCStringContainer (External)
class declaration method overview begin
reading end
reading charat operator[] first beginwriting endwriting setlength length isempty setisvoid isvoid assign assignliteral operator= replace append appendliteral operator+= insert cut truncate stripchars stripwhitespace trim defaultcomparator compare(const char*, print32 (*) compare(const nsacstring&, print32 (*) equals(const char*, print32 (*) equals(const nsacstring&, print32 (*) operator< operator<= operator== operator>= operator> ...
...methods begin
reading pruint32 begin
reading(const char**, const char**) const - source returns the length, beginning, and end of a string in one operation.
... parameters char* begin char* end char begin
reading() const - source end
reading char end
reading() const - source charat char charat(pruint32) const - source parameters pruint32 apos operator[] char operator[](pruint32) const - source parameters pruint32 apos first char first() const - source beginwriting pruint32 beginwriting(char**, char**, pruint32) - source get the length, begin writing, and optionally set the length of a string all in one operation.
nsCString external
class declaration method overview constructors get operator= adopt begin
reading end
reading charat operator[] first beginwriting endwriting setlength length isempty setisvoid isvoid assign assignliteral replace append appendliteral operator+= insert cut truncate stripchars stripwhitespace trim defaultcomparator compare equals operator< operator<= operator== operator>= operator> operator!= equalsliteral find rfind findchar ...
...parameters nsacstring& astring nsacstring& operator=(const char*) - source parameters char* aptr nsacstring& operator=(char) - source parameters char achar adopt void adopt(const char*, pruint32) - source parameters char* adata pruint32 alength begin
reading pruint32 begin
reading(const char**, const char**) const - source returns the length, beginning, and end of a string in one operation.
... parameters char** begin char** end char* begin
reading() const - source end
reading char* end
reading() const - source charat char charat(pruint32) const - source parameters pruint32 apos operator[] char operator[](pruint32) const - source parameters pruint32 apos first char first() const - source beginwriting pruint32 beginwriting(char**, char**, pruint32) - source get the length, begin writing, and optionally set the length of a string all in one operation.
nsDependentCString
lid rebind operator= get find rfind rfindchar findcharinset rfindcharinset compare equalsignorecase tofloat tointeger mid left right setcharat stripchars stripwhitespace replacechar replacesubstring trim compresswhitespace assignwithconversion appendwithconversion appendint appendfloat begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat operator[] first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequalsliteral(const char lowercaseequalsliteral(char assign assignascii assignliteral(c...
...2, print32) - source append the given unsigned integer to this string parameters pruint32 ainteger print32 aradix void appendint(print64, print32) - source parameters print64 ainteger print32 aradix appendfloat void appendfloat(float) - source append the given float to this string parameters float afloat void appendfloat(double) - source parameters double afloat begin
reading char* begin
reading() const - source
reading iterators ns
readingiterator<char>& begin
reading(ns
readingiterator<char>&) const - source deprecated
reading iterators parameters ns
readingiterator<char>& iter char*& begin
reading(const char*&) const - source parameters char*& iter end
reading char* end
reading() const - source ns
readingiterator<char>& end
reading(ns
readingiterator<...
...char>&) const - source parameters ns
readingiterator<char>& iter char*& end
reading(const char*&) const - source parameters char*& iter beginwriting char* beginwriting() - source writing iterators nswritingiterator<char>& beginwriting(nswritingiterator<char>&) - source deprecated writing iterators parameters nswritingiterator<char>& iter char*& beginwriting(char*&) - source parameters char*& iter endwriting char* endwriting() - source nswritingiterator<char>& endwriting(nswritingiterator<char>&) - source parameters nswritingiterator<char>& iter char*& endwriting(char*&) - source parameters char*& iter data char* data() const - source accessors length pruint32 length() const - source isempty prbool isempty() const - source is...
nsDependentCString external
class declaration method overview constructors rebind get operator= adopt begin
reading end
reading charat operator[] first beginwriting endwriting setlength length isempty setisvoid isvoid assign assignliteral replace append appendliteral operator+= insert cut truncate stripchars stripwhitespace trim defaultcomparator compare equals operator< operator<= operator== operator>= operator> operator!= equalsliteral find rfind ...
...parameters nsacstring& astring nsacstring& operator=(const char*) - source parameters char* aptr nsacstring& operator=(char) - source parameters char achar adopt void adopt(const char*, pruint32) - source parameters char* adata pruint32 alength begin
reading pruint32 begin
reading(const char**, const char**) const - source returns the length, beginning, and end of a string in one operation.
... parameters char** begin char** end char* begin
reading() const - source end
reading char* end
reading() const - source charat char charat(pruint32) const - source parameters pruint32 apos operator[] char operator[](pruint32) const - source parameters pruint32 apos first char first() const - source beginwriting pruint32 beginwriting(char**, char**, pruint32) - source get the length, begin writing, and optionally set the length of a string all in one operation.
nsDependentCSubstring
names: nsdependentsubstring for wide characters nsdependentcsubstring for narrow characters method overview constructors rebind begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat operator[] first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequalsliteral(const char lowercaseequalsliteral(char assign assignascii assignliteral(const ch...
... methods constructors void nsdependentcsubstring(const nsacstring_internal&, pruint32, pruint32) - source parameters nsacstring_internal& str pruint32 startpos pruint32 length void nsdependentcsubstring(const char*, const char*) - source parameters char* start char* end void nsdependentcsubstring(const ns
readingiterator<char>&, const ns
readingiterator<char>&) - source parameters ns
readingiterator<char>& start ns
readingiterator<char>& end void nsdependentcsubstring() - source rebind void rebind(const nsacstring_internal&, pruint32, pruint32) - source parameters nsacstring_internal& <anonymous> pruint32 startpos pruint32 length void rebind(const char*, const char*) - source parameters ...
... char* start char* end begin
reading char* begin
reading() const - source
reading iterators ns
readingiterator<char>& begin
reading(ns
readingiterator<char>&) const - source deprecated
reading iterators parameters ns
readingiterator<char>& iter char*& begin
reading(const char*&) const - source parameters char*& iter end
reading char* end
reading() const - source ns
readingiterator<char>& end
reading(ns
readingiterator<char>&) const - source parameters ns
readingiterator<char>& iter char*& end
reading(const char*&) const - source parameters char*& iter beginwriting char* beginwriting() - source writing iterators nswritingiterator<char>& beginwriting(nswritingiterator<char>&) - source deprecated writing iterators parameters nswritingiterator<char>& iter cha...
nsDependentCSubstring external
class declaration method overview constructors rebind begin
reading end
reading charat operator[] first beginwriting endwriting setlength length isempty setisvoid isvoid assign assignliteral operator= replace append appendliteral operator+= insert cut truncate stripchars stripwhitespace trim defaultcomparator compare equals operator< operator<= operator== operator>= operator> operator!= equalsliteral find rfind findchar rfindcha...
...sacstring& astr pruint32 astartpos void nsdependentcsubstring_external(const nsacstring&, pruint32, pruint32) - source parameters nsacstring& astr pruint32 astartpos pruint32 alength rebind void rebind(const char*, pruint32) - source parameters char* astart pruint32 alength begin
reading pruint32 begin
reading(const char**, const char**) const - source returns the length, beginning, and end of a string in one operation.
... parameters char** begin char** end char* begin
reading() const - source end
reading char* end
reading() const - source charat char charat(pruint32) const - source parameters pruint32 apos operator[] char operator[](pruint32) const - source parameters pruint32 apos first char first() const - source beginwriting pruint32 beginwriting(char**, char**, pruint32) - source get the length, begin writing, and optionally set the length of a string all in one operation.
nsDependentString
assertvalid rebind operator= get find rfind rfindchar findcharinset rfindcharinset equalsignorecase tofloat tointeger mid left right setcharat stripchars stripwhitespace replacechar replacesubstring trim compresswhitespace assignwithconversion appendwithconversion appendint appendfloat begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat operator[] first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequalsliteral(const char lowercaseequalsliteral(char assign assignascii assignliteral(c...
...2, print32) - source append the given unsigned integer to this string parameters pruint32 ainteger print32 aradix void appendint(print64, print32) - source parameters print64 ainteger print32 aradix appendfloat void appendfloat(float) - source append the given float to this string parameters float afloat void appendfloat(double) - source parameters double afloat begin
reading prunichar* begin
reading() const - source
reading iterators ns
readingiterator<short unsigned int>& begin
reading(ns
readingiterator<short unsigned int>&) const - source deprecated
reading iterators parameters ns
readingiterator<short unsigned int>& iter prunichar*& begin
reading(const prunichar*&) const - source parameters prunichar*& iter end
reading prunichar* end
reading() const...
... - source ns
readingiterator<short unsigned int>& end
reading(ns
readingiterator<short unsigned int>&) const - source parameters ns
readingiterator<short unsigned int>& iter prunichar*& end
reading(const prunichar*&) const - source parameters prunichar*& iter beginwriting prunichar* beginwriting() - source writing iterators nswritingiterator<short unsigned int>& beginwriting(nswritingiterator<short unsigned int>&) - source deprecated writing iterators parameters nswritingiterator<short unsigned int>& iter prunichar*& beginwriting(prunichar*&) - source parameters prunichar*& iter endwriting prunichar* endwriting() - source nswritingiterator<short unsigned int>& endwriting(nswritingiterator<short unsigned int>&) - source parameters nswritingiterator<short uns...
nsDependentString external
class declaration dependent strings method overview constructors rebind get operator= adopt begin
reading end
reading charat operator[] first beginwriting endwriting setlength length isempty setisvoid isvoid assign assignliteral replace append appendliteral operator+= insert cut truncate stripchars stripwhitespace trim defaultcomparator compare equals operator< operator<= operator== operator>= operator> operator!= equalsliteral lowercase...
...ing& astring nsastring& operator=(const prunichar*) - source parameters prunichar* aptr nsastring& operator=(prunichar) - source parameters prunichar achar adopt void adopt(const prunichar*, pruint32) - source parameters prunichar* adata pruint32 alength begin
reading pruint32 begin
reading(const prunichar**, const prunichar**) const - source returns the length, beginning, and end of a string in one operation.
... parameters prunichar** begin prunichar** end prunichar* begin
reading() const - source end
reading prunichar* end
reading() const - source charat prunichar charat(pruint32) const - source parameters pruint32 apos operator[] prunichar operator[](pruint32) const - source parameters pruint32 apos first prunichar first() const - source beginwriting pruint32 beginwriting(prunichar**, prunichar**, pruint32) - source get the length, begin writing, and optionally set the length of a string all in one operation.
nsDependentSubstring
names: nsdependentsubstring for wide characters nsdependentcsubstring for narrow characters method overview constructors rebind begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat operator[] first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequalsliteral(const char lowercaseequalsliteral(char assign assignascii assignliteral(const ch...
... methods constructors void nsdependentsubstring(const nsastring_internal&, pruint32, pruint32) - source parameters nsastring_internal& str pruint32 startpos pruint32 length void nsdependentsubstring(const prunichar*, const prunichar*) - source parameters prunichar* start prunichar* end void nsdependentsubstring(const ns
readingiterator<short unsigned int>&, const ns
readingiterator<short unsigned int>&) - source parameters ns
readingiterator<short unsigned int>& start ns
readingiterator<short unsigned int>& end void nsdependentsubstring() - source rebind void rebind(const nsastring_internal&, pruint32, pruint32) - source parameters nsastring_internal& <anonymous> pruint32 startpos pruint32 length void re...
...bind(const prunichar*, const prunichar*) - source parameters prunichar* start prunichar* end begin
reading prunichar* begin
reading() const - source
reading iterators ns
readingiterator<short unsigned int>& begin
reading(ns
readingiterator<short unsigned int>&) const - source deprecated
reading iterators parameters ns
readingiterator<short unsigned int>& iter prunichar*& begin
reading(const prunichar*&) const - source parameters prunichar*& iter end
reading prunichar* end
reading() const - source ns
readingiterator<short unsigned int>& end
reading(ns
readingiterator<short unsigned int>&) const - source parameters ns
readingiterator<short unsigned int>& iter prunichar*& end
reading(const prunichar*&) const - source parameters prunichar*& iter beginwriting prunich...
nsDependentSubstring external
class declaration substrings method overview constructors rebind begin
reading end
reading charat operator[] first beginwriting endwriting setlength length isempty setisvoid isvoid assign assignliteral operator= replace append appendliteral operator+= insert cut truncate stripchars stripwhitespace trim defaultcomparator compare(const prunichar*, print32 (*) compare(const nsastring&, print32 (*) equals(const prunichar*, print32 (*) equals(const nsastring&, print32 (*) operator< operator<= ...
...tring astr pruint32 astartpos void nsdependentsubstring_external(const nsastring&, pruint32, pruint32) - source parameters nsastring astr pruint32 astartpos pruint32 alength rebind void rebind(const prunichar*, pruint32) - source parameters prunichar astart pruint32 alength begin
reading pruint32 begin
reading(const prunichar**, const prunichar**) const - source returns the length, beginning, and end of a string in one operation.
... parameters prunichar* begin prunichar* end prunichar begin
reading() const - source end
reading prunichar end
reading() const - source charat prunichar charat(pruint32) const - source parameters pruint32 apos operator[] prunichar operator[](pruint32) const - source parameters pruint32 apos first prunichar first() const - source beginwriting pruint32 beginwriting(prunichar**, prunichar**, pruint32) - source get the length, begin writing, and optionally set the length of a string all in one operation.
nsFixedCString
constructors operator= get find rfind rfindchar findcharinset rfindcharinset compare equalsignorecase tofloat tointeger mid left right setcharat stripchars stripwhitespace replacechar replacesubstring trim compresswhitespace assignwithconversion appendwithconversion appendint appendfloat begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat operator[] first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequalsliteral(const char lowercaseequalsliteral(char assign assignascii assignliteral(c...
...2, print32) - source append the given unsigned integer to this string parameters pruint32 ainteger print32 aradix void appendint(print64, print32) - source parameters print64 ainteger print32 aradix appendfloat void appendfloat(float) - source append the given float to this string parameters float afloat void appendfloat(double) - source parameters double afloat begin
reading char* begin
reading() const - source
reading iterators ns
readingiterator<char>& begin
reading(ns
readingiterator<char>&) const - source deprecated
reading iterators parameters ns
readingiterator<char>& iter char*& begin
reading(const char*&) const - source parameters char*& iter end
reading char* end
reading() const - source ns
readingiterator<char>& end
reading(ns
readingiterator<...
...char>&) const - source parameters ns
readingiterator<char>& iter char*& end
reading(const char*&) const - source parameters char*& iter beginwriting char* beginwriting() - source writing iterators nswritingiterator<char>& beginwriting(nswritingiterator<char>&) - source deprecated writing iterators parameters nswritingiterator<char>& iter char*& beginwriting(char*&) - source parameters char*& iter endwriting char* endwriting() - source nswritingiterator<char>& endwriting(nswritingiterator<char>&) - source parameters nswritingiterator<char>& iter char*& endwriting(char*&) - source parameters char*& iter data char* data() const - source accessors length pruint32 length() const - source isempty prbool isempty() const - source is...
nsFixedString
overview constructors operator= get find rfind rfindchar findcharinset rfindcharinset equalsignorecase tofloat tointeger mid left right setcharat stripchars stripwhitespace replacechar replacesubstring trim compresswhitespace assignwithconversion appendwithconversion appendint appendfloat begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat operator[] first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequalsliteral(const char lowercaseequalsliteral(char assign assignascii assignliteral(c...
...2, print32) - source append the given unsigned integer to this string parameters pruint32 ainteger print32 aradix void appendint(print64, print32) - source parameters print64 ainteger print32 aradix appendfloat void appendfloat(float) - source append the given float to this string parameters float afloat void appendfloat(double) - source parameters double afloat begin
reading prunichar* begin
reading() const - source
reading iterators ns
readingiterator<short unsigned int>& begin
reading(ns
readingiterator<short unsigned int>&) const - source deprecated
reading iterators parameters ns
readingiterator<short unsigned int>& iter prunichar*& begin
reading(const prunichar*&) const - source parameters prunichar*& iter end
reading prunichar* end
reading() const...
... - source ns
readingiterator<short unsigned int>& end
reading(ns
readingiterator<short unsigned int>&) const - source parameters ns
readingiterator<short unsigned int>& iter prunichar*& end
reading(const prunichar*&) const - source parameters prunichar*& iter beginwriting prunichar* beginwriting() - source writing iterators nswritingiterator<short unsigned int>& beginwriting(nswritingiterator<short unsigned int>&) - source deprecated writing iterators parameters nswritingiterator<short unsigned int>& iter prunichar*& beginwriting(prunichar*&) - source parameters prunichar*& iter endwriting prunichar* endwriting() - source nswritingiterator<short unsigned int>& endwriting(nswritingiterator<short unsigned int>&) - source parameters nswritingiterator<short uns...
nsLiteralCString (External)
class declaration method overview rebind get operator= adopt begin
reading end
reading charat operator[] first beginwriting endwriting setlength length isempty setisvoid isvoid assign assignliteral replace append appendliteral operator+= insert cut truncate stripchars stripwhitespace trim defaultcomparator compare equals operator< operator<= operator== operator>= operator> operator!= equalsliteral find rfind findchar rf...
...parameters nsacstring& astring nsacstring& operator=(const char*) - source parameters char* aptr nsacstring& operator=(char) - source parameters char achar adopt void adopt(const char*, pruint32) - source parameters char* adata pruint32 alength begin
reading pruint32 begin
reading(const char**, const char**) const - source returns the length, beginning, and end of a string in one operation.
... parameters char** begin char** end char* begin
reading() const - source end
reading char* end
reading() const - source charat char charat(pruint32) const - source parameters pruint32 apos operator[] char operator[](pruint32) const - source parameters pruint32 apos first char first() const - source beginwriting pruint32 beginwriting(char**, char**, pruint32) - source get the length, begin writing, and optionally set the length of a string all in one operation.
nsLiteralString (External)
class declaration method overview rebind get operator= adopt begin
reading end
reading charat operator[] first beginwriting endwriting setlength length isempty setisvoid isvoid assign assignliteral replace append appendliteral operator+= insert cut truncate stripchars stripwhitespace trim defaultcomparator compare equals operator< operator<= operator== operator>= operator> operator!= equalsliteral find rfind findchar rf...
...parameters nsacstring& astring nsacstring& operator=(const char*) - source parameters char* aptr nsacstring& operator=(char) - source parameters char achar adopt void adopt(const char*, pruint32) - source parameters char* adata pruint32 alength begin
reading pruint32 begin
reading(const char**, const char**) const - source returns the length, beginning, and end of a string in one operation.
... parameters char** begin char** end char* begin
reading() const - source end
reading char* end
reading() const - source charat char charat(pruint32) const - source parameters pruint32 apos operator[] char operator[](pruint32) const - source parameters pruint32 apos first char first() const - source beginwriting pruint32 beginwriting(char**, char**, pruint32) - source get the length, begin writing, and optionally set the length of a string all in one operation.
nsPromiseFlatCString
constructors operator= get find rfind rfindchar findcharinset rfindcharinset compare equalsignorecase tofloat tointeger mid left right setcharat stripchars stripwhitespace replacechar replacesubstring trim compresswhitespace assignwithconversion appendwithconversion appendint appendfloat begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat operator[] first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequalsliteral(const char lowercaseequalsliteral(char assign assignascii assignliteral(c...
...2, print32) - source append the given unsigned integer to this string parameters pruint32 ainteger print32 aradix void appendint(print64, print32) - source parameters print64 ainteger print32 aradix appendfloat void appendfloat(float) - source append the given float to this string parameters float afloat void appendfloat(double) - source parameters double afloat begin
reading char* begin
reading() const - source
reading iterators ns
readingiterator<char>& begin
reading(ns
readingiterator<char>&) const - source deprecated
reading iterators parameters ns
readingiterator<char>& iter char*& begin
reading(const char*&) const - source parameters char*& iter end
reading char* end
reading() const - source ns
readingiterator<char>& end
reading(ns
readingiterator<...
...char>&) const - source parameters ns
readingiterator<char>& iter char*& end
reading(const char*&) const - source parameters char*& iter beginwriting char* beginwriting() - source writing iterators nswritingiterator<char>& beginwriting(nswritingiterator<char>&) - source deprecated writing iterators parameters nswritingiterator<char>& iter char*& beginwriting(char*&) - source parameters char*& iter endwriting char* endwriting() - source nswritingiterator<char>& endwriting(nswritingiterator<char>&) - source parameters nswritingiterator<char>& iter char*& endwriting(char*&) - source parameters char*& iter data char* data() const - source accessors length pruint32 length() const - source isempty prbool isempty() const - source is...
nsPromiseFlatString
overview constructors operator= get find rfind rfindchar findcharinset rfindcharinset equalsignorecase tofloat tointeger mid left right setcharat stripchars stripwhitespace replacechar replacesubstring trim compresswhitespace assignwithconversion appendwithconversion appendint appendfloat begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat operator[] first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequalsliteral(const char lowercaseequalsliteral(char assign assignascii assignliteral(c...
...2, print32) - source append the given unsigned integer to this string parameters pruint32 ainteger print32 aradix void appendint(print64, print32) - source parameters print64 ainteger print32 aradix appendfloat void appendfloat(float) - source append the given float to this string parameters float afloat void appendfloat(double) - source parameters double afloat begin
reading prunichar* begin
reading() const - source
reading iterators ns
readingiterator<short unsigned int>& begin
reading(ns
readingiterator<short unsigned int>&) const - source deprecated
reading iterators parameters ns
readingiterator<short unsigned int>& iter prunichar*& begin
reading(const prunichar*&) const - source parameters prunichar*& iter end
reading prunichar* end
reading() const...
... - source ns
readingiterator<short unsigned int>& end
reading(ns
readingiterator<short unsigned int>&) const - source parameters ns
readingiterator<short unsigned int>& iter prunichar*& end
reading(const prunichar*&) const - source parameters prunichar*& iter beginwriting prunichar* beginwriting() - source writing iterators nswritingiterator<short unsigned int>& beginwriting(nswritingiterator<short unsigned int>&) - source deprecated writing iterators parameters nswritingiterator<short unsigned int>& iter prunichar*& beginwriting(prunichar*&) - source parameters prunichar*& iter endwriting prunichar* endwriting() - source nswritingiterator<short unsigned int>& endwriting(nswritingiterator<short unsigned int>&) - source parameters nswritingiterator<short uns...
nsString
overview constructors operator= get find rfind rfindchar findcharinset rfindcharinset equalsignorecase tofloat tointeger mid left right setcharat stripchars stripwhitespace replacechar replacesubstring trim compresswhitespace assignwithconversion appendwithconversion appendint appendfloat begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat operator[] first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequalsliteral(const char lowercaseequalsliteral(char assign assignascii assignliteral(c...
...2, print32) - source append the given unsigned integer to this string parameters pruint32 ainteger print32 aradix void appendint(print64, print32) - source parameters print64 ainteger print32 aradix appendfloat void appendfloat(float) - source append the given float to this string parameters float afloat void appendfloat(double) - source parameters double afloat begin
reading prunichar* begin
reading() const - source
reading iterators ns
readingiterator<short unsigned int>& begin
reading(ns
readingiterator<short unsigned int>&) const - source deprecated
reading iterators parameters ns
readingiterator<short unsigned int>& iter prunichar*& begin
reading(const prunichar*&) const - source parameters prunichar*& iter end
reading prunichar* end
reading() const...
... - source ns
readingiterator<short unsigned int>& end
reading(ns
readingiterator<short unsigned int>&) const - source parameters ns
readingiterator<short unsigned int>& iter prunichar*& end
reading(const prunichar*&) const - source parameters prunichar*& iter beginwriting prunichar* beginwriting() - source writing iterators nswritingiterator<short unsigned int>& beginwriting(nswritingiterator<short unsigned int>&) - source deprecated writing iterators parameters nswritingiterator<short unsigned int>& iter prunichar*& beginwriting(prunichar*&) - source parameters prunichar*& iter endwriting prunichar* endwriting() - source nswritingiterator<short unsigned int>& endwriting(nswritingiterator<short unsigned int>&) - source parameters nswritingiterator<short uns...
nsStringContainer (External)
class declaration method overview begin
reading end
reading charat operator[] first beginwriting endwriting setlength length isempty setisvoid isvoid assign assignliteral operator= replace append appendliteral operator+= insert cut truncate stripchars stripwhitespace trim defaultcomparator compare equals operator< operator<= operator== operator>= operator> operator!= equalsliteral lowercaseequalsliteral find rfind findchar rfindchar ...
...methods begin
reading pruint32 begin
reading(const prunichar**, const prunichar**) const - source returns the length, beginning, and end of a string in one operation.
... parameters prunichar** begin prunichar** end prunichar* begin
reading() const - source end
reading prunichar* end
reading() const - source charat prunichar charat(pruint32) const - source parameters pruint32 apos operator[] prunichar operator[](pruint32) const - source parameters pruint32 apos first prunichar first() const - source beginwriting pruint32 beginwriting(prunichar**, prunichar**, pruint32) - source get the length, begin writing, and optionally set the length of a string all in one operation.
nsString external
class declaration basic strings method overview constructors get operator= adopt begin
reading end
reading charat operator[] first beginwriting endwriting setlength length isempty setisvoid isvoid assign assignliteral replace append appendliteral operator+= insert cut truncate stripchars stripwhitespace trim defaultcomparator compare equals operator< operator<= operator== operator>= operator> operator!= equalsliteral lowercaseequalsliteral ...
...ing& astring nsastring& operator=(const prunichar*) - source parameters prunichar* aptr nsastring& operator=(prunichar) - source parameters prunichar achar adopt void adopt(const prunichar*, pruint32) - source parameters prunichar* adata pruint32 alength begin
reading pruint32 begin
reading(const prunichar**, const prunichar**) const - source returns the length, beginning, and end of a string in one operation.
... parameters prunichar** begin prunichar** end prunichar* begin
reading() const - source end
reading prunichar* end
reading() const - source charat prunichar charat(pruint32) const - source parameters pruint32 apos operator[] prunichar operator[](pruint32) const - source parameters pruint32 apos first prunichar first() const - source beginwriting pruint32 beginwriting(prunichar**, prunichar**, pruint32) - source get the length, begin writing, and optionally set the length of a string all in one operation.
nsXPIDLCString
operator[] operator= get find rfind rfindchar findcharinset rfindcharinset compare equalsignorecase tofloat tointeger mid left right setcharat stripchars stripwhitespace replacechar replacesubstring trim compresswhitespace assignwithconversion appendwithconversion appendint appendfloat begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequalsliteral(const char lowercaseequalsliteral(char assign assignascii assignliteral(const char a...
...2, print32) - source append the given unsigned integer to this string parameters pruint32 ainteger print32 aradix void appendint(print64, print32) - source parameters print64 ainteger print32 aradix appendfloat void appendfloat(float) - source append the given float to this string parameters float afloat void appendfloat(double) - source parameters double afloat begin
reading char* begin
reading() const - source
reading iterators ns
readingiterator<char>& begin
reading(ns
readingiterator<char>&) const - source deprecated
reading iterators parameters ns
readingiterator<char>& iter char*& begin
reading(const char*&) const - source parameters char*& iter end
reading char* end
reading() const - source ns
readingiterator<char>& end
reading(ns
readingiterator<...
...char>&) const - source parameters ns
readingiterator<char>& iter char*& end
reading(const char*&) const - source parameters char*& iter beginwriting char* beginwriting() - source writing iterators nswritingiterator<char>& beginwriting(nswritingiterator<char>&) - source deprecated writing iterators parameters nswritingiterator<char>& iter char*& beginwriting(char*&) - source parameters char*& iter endwriting char* endwriting() - source nswritingiterator<char>& endwriting(nswritingiterator<char>&) - source parameters nswritingiterator<char>& iter char*& endwriting(char*&) - source parameters char*& iter data char* data() const - source accessors length pruint32 length() const - source isempty prbool isempty() const - source is...
nsXPIDLString
prunichar* operator[] operator= get find rfind rfindchar findcharinset rfindcharinset equalsignorecase tofloat tointeger mid left right setcharat stripchars stripwhitespace replacechar replacesubstring trim compresswhitespace assignwithconversion appendwithconversion appendint appendfloat begin
reading end
reading beginwriting endwriting data length isempty isvoid isterminated charat first last countchar findchar equals equalsascii equalsliteral(const char equalsliteral(char lowercaseequalsascii lowercaseequalsliteral(const char lowercaseequalsliteral(char assign assignascii assignliteral(const char a...
...2, print32) - source append the given unsigned integer to this string parameters pruint32 ainteger print32 aradix void appendint(print64, print32) - source parameters print64 ainteger print32 aradix appendfloat void appendfloat(float) - source append the given float to this string parameters float afloat void appendfloat(double) - source parameters double afloat begin
reading prunichar* begin
reading() const - source
reading iterators ns
readingiterator<short unsigned int>& begin
reading(ns
readingiterator<short unsigned int>&) const - source deprecated
reading iterators parameters ns
readingiterator<short unsigned int>& iter prunichar*& begin
reading(const prunichar*&) const - source parameters prunichar*& iter end
reading prunichar* end
reading() const...
... - source ns
readingiterator<short unsigned int>& end
reading(ns
readingiterator<short unsigned int>&) const - source parameters ns
readingiterator<short unsigned int>& iter prunichar*& end
reading(const prunichar*&) const - source parameters prunichar*& iter beginwriting prunichar* beginwriting() - source writing iterators nswritingiterator<short unsigned int>& beginwriting(nswritingiterator<short unsigned int>&) - source deprecated writing iterators parameters nswritingiterator<short unsigned int>& iter prunichar*& beginwriting(prunichar*&) - source parameters prunichar*& iter endwriting prunichar* endwriting() - source nswritingiterator<short unsigned int>& endwriting(nswritingiterator<short unsigned int>&) - source parameters nswritingiterator<short uns...
nsIDocShell
charset string the converter to use when
reading the document's data.
...when
reading a document, a converter is used to translate the text from its original format into unicode.
...
reading this value reports the encoding that was used when loading the data into the document.
nsIInputStream
ns_base_stream_would_block indicates that
reading from the input stream would block the calling thread for indeterminate amount of time.
... ns_base_stream_would_block indicates that
reading from the input stream would block the calling thread for indeterminate amount of time.
... nsresult consumestream(nsiinputstream* astream) { nsresult rv; uint32_t numread; char buf[512]; while (1) { rv = astream->read(buf, sizeof(buf), &numread); if (ns_failed(rv)) { printf("### error
reading stream: %x\n", rv); break; } if (numread == 0) break; // buf now contains numread bytes of data } return rv; } consume all data from an input stream using readsegments().
nsIScriptableInputStream
ns_base_stream_would_block indicates that
reading from the input stream would block the calling thread for an indeterminate amount of time.
... ns_base_stream_would_block if
reading from the input stream would block the calling thread (non-blocking mode only).
...however, it does not address the problem of
reading arbitrary binary data from a stream.
nsITransport
constant value description status_
reading 0x804b0008 status_writing 0x804b0009 methods close() close the transport and any open streams.
...this means that if the stream has no data and is not closed, then
reading from it will block the calling thread until at least one byte is available or until the stream is closed.
...this means that if the stream has no data and is not closed, then
reading from it returns ns_base_stream_would_block.
nsIZipReader
modules/libjar/nsizipreader.idlscriptable this interface provides methods for
reading compressed (zip) files.
... open() opens a zip file for
reading.
... example demonstrating this function: list contents of xpi and read file contents openinner() opens a zip file inside a zip file for
reading.
Accelerometer - Web APIs
the accelerometer interface of the sensor apis provides on each
reading the acceleration applied to the device along all three axes.
... example acceleration is typically read in the sensor.on
reading event callback.
... let acl = new accelerometer({frequency: 60}); acl.addeventlistener('
reading', () => { console.log("acceleration along the x-axis " + acl.x); console.log("acceleration along the y-axis " + acl.y); console.log("acceleration along the z-axis " + acl.z); }); acl.start(); specifications specification status comment generic sensor api candidate recommendation defines sensors in general.
Content Index API - Web APIs
the browser can then use these entries to display offline
reading to a user.
... async function create
readinglist() { // access our service worker registration const registration = await navigator.serviceworker.ready; // get our index entries const entries = await registration.index.getall(); // create a containing element const
readinglistelem = document.createelement('div'); // test for entries if (!array.length) { // if there are no entries, display a message const message ...
...= document.createelement('p'); message.innertext = 'you currently have no articles saved for offline
reading.'
readinglistelem.append(message); } else { // if entries are present, display in a list of links to the content const listelem = document.createelement('ul'); for (const entry of entries) { const listitem = document.createelement('li'); const anchorelem = document.createelement('a'); anchorelem.innertext = entry.title; anchorelem.setattribute('href', entry.url); listelem.append(listitem); }
readinglistelem.append(listelem); } } unregistering indexed content below is an asynchronous function, that removes an item from the content index.
FileHandle API - Web APIs
// get a lockedfile object from the handle var myfile = myfilehandle.open('readwrite'); // start a writing operation var writing = myfile.append('some content'); writing.onsuccess = function () { console.log('writing operation successful'); } writing.onerror = function () { console.log('something goes wrong in the writing process: ' + this.error); }
reading it's possible to directly write the content of a lockedfile object without using an intermediate file object and a filereader object.
... // get a lockedfile object from the handle var myfile = myfilehandle.open('readwrite'); // retrieve the size of the file var getmeta = myfile.getmetadata(); getmeta.onsuccess = function () { var size = this.result.size; // the
reading operation will start with the byte at index 0 in the file myfile.location = 0; // start a
reading operation for the whole file content var
reading = myfile.readastext(size);
reading.onsuccess = function () { console.log('the content of the file is:'); console.log(this.result); }
reading.onerror = function () { console.log('something goes wrong in the
reading process: ' ...
...sometimes writing and
reading operations can be very long, therefore it is a good idea to monitor the operation to provide feedback to the user.
Gyroscope.Gyroscope() - Web APIs
the gyroscope constructor creates a new gyroscope object which provides on each
reading the angular velocity of the device along all three axes.
... syntax var gyroscope = new gyroscope([options]) parameters options optional options are as follows: frequency: the desired number of times per second a sample should be taken, meaning the number of times per second that sensor.on
reading will be called.
...the actual
reading frequency depends device hardware and consequently may be less than requested.
Gyroscope - Web APIs
the gyroscope interface of the sensor apis provides on each
reading the angular velocity of the device along all three axes.
... example the gyroscope is typically read in the sensor.on
reading event callback.
... let gyroscope = new gyroscope({frequency: 60}); gyroscope.addeventlistener('
reading', e => { console.log("angular velocity along the x-axis " + gyroscope.x); console.log("angular velocity along the y-axis " + gyroscope.y); console.log("angular velocity along the z-axis " + gyroscope.z); }); gyroscope.start(); specifications specification status comment generic sensor api candidate recommendation defines sensors in general.
HTMLImageElement.crossOrigin - Web APIs
keep
reading this paragraph.
... okay, now you can stop
reading this paragraph.
... thanks for
reading me.</p> </div> css body { font: 1.125rem/1.5, helvetica, sans-serif; } .container { display: flow-root; width: 37.5em; border: 1px solid #d2d2d2; } img { float: left; padding-right: 1.5em; } output { background: rgba(100, 100, 100, 0.1); font-family: courier, monospace; width: 95%; } result specifications specification status comment html living standardthe definition of 'htmlimageelement.crossorigin' in that specification.
Basic concepts - Web APIs
in fact, any
reading or changing of data in the database must happen in a transaction.
...as for
reading transactions, you can have several of them — even overlapping ones.
... request the operation by which
reading and writing on a database is done.
LinearAccelerationSensor.LinearAccelerationSensor() - Web APIs
the linearaccelerationsensor constructor creates a new linearaccelerationsensor object which provides on each
reading the acceleration applied to the device along all three axes, but without the contribution of gravity.
... syntax var linearaccelerationsensor = new linearaccelerationsensor([options]) parameters options optional options are as follows: frequency: the desired number of times per second a sample should be taken, meaning the number of times per second that sensor.on
reading will be called.
...the actual
reading frequency depends on device hardware and consequently may be less than requested.
LinearAccelerationSensor - Web APIs
the linearaccelerationsensor interface of the sensor apis provides on each
reading the acceleration applied to the device along all three axes, but without the contribution of gravity.
... example linear acceleration is typically read in the sensor.on
reading event callback.
... let lasensor = new linearaccelerationsensor({frequency: 60}); lasensor.addeventlistener('
reading', e => { console.log("linear acceleration along the x-axis " + lasensor.x); console.log("linear acceleration along the y-axis " + lasensor.y); console.log("linear acceleration along the z-axis " + lasensor.z); }); lasensor.start(); specifications specification status comment generic sensor api candidate recommendation defines sensors in general.
OrientationSensor - Web APIs
methods orientationsensor.populatematrix() populates the given object with the rotation matrix based on the latest sensor
reading.
...on each
reading it uses orientationsensor.quaternion to rotate a visual model of a phone.
... const options = { frequency: 60, referenceframe: 'device' }; const sensor = new absoluteorientationsensor(options); sensor.addeventlistener('
reading', () => { // model is a three.js object instantiated elsewhere.
Sensor - Web APIs
sensor.has
reading read only returns a boolean indicating whether the sensor has a
reading.
... sensor.timestamp read only returns the time stamp of the latest sensor
reading.
... sensor.on
reading called when a
reading is taken on one of the child interfaces of the sensor interface.
Window.open() - Web APIs
more
reading on the use of the target attribute: html 4.01 target attribute specifications how do i create a link that opens a new window?
... more
reading on the cross-domain script security restriction: http://www.mozilla.org/projects/secu...me-origin.html usability issues avoid resorting to window.open() generally speaking, it is preferable to avoid resorting to window.open() for several reasons: most modern desktop browsers offer tab-browsing, and tab-capable browser users overall prefer opening new tabs than opening new windows in a majo...
... further
reading: top ten web-design mistakes of 2002, 6.
WAI-ARIA Roles - Accessibility
screen readers will instantly start
reading out the updated content when the role is added.
...dialogs can be either non-modal (it's still possible to interact with content outside of the dialog) or modal (only the content in the dialog can be interacted with).aria: document rolegenerally used in complex composite widgets or applications, the document role can inform assistive technologies to switch context to a
reading mode: the document role tells assistive technologies with
reading or browse modes to use the document mode to read the content contained within this element.aria: feed rolea feed is a dynamic scrollable list of articles in which articles are added to or removed from either end of the list as the user scrolls.
... a feed enables screen readers to use the browse mode
reading cursor to both read and scroll through a stream of rich content that may continue scrolling infinitely by loading more content as the user reads.aria: figure rolethe aria figure role can be used to identify a figure inside page content where appropriate semantics do not already exist.
display - CSS: Cascading Style Sheets
this will cause the element and all its descendant elements to no longer be announced by screen
reading technology.
...this will cause the element itself to no longer be announced by screen
reading technology.
...this will cause the table to no longer be announced properly by screen
reading technology.
Adding captions and subtitles to HTML5 video - Developer guides
all we need to do is to go through the video's texttracks,
reading their properties and building the menu up from there: var subtitlesmenu; if (video.texttracks) { var df = document.createdocumentfragment(); var subtitlesmenu = df.appendchild(document.createelement('ul')); subtitlesmenu.classname = 'subtitles-menu'; subtitlesmenu.appendchild(createmenuitem('subtitles-off', '', 'off')); for (var i = 0; i < video.texttracks.length; i++) { sub...
...first of all an option is added to allow the user to switch all subtitles off, and then buttons are added for each text track,
reading the language and label from each one.
... plugins if, after
reading through this article you decide that you can't be bothered to do all of this and want someone else to do it for you, there are plenty of plugins out there that offer caption and subtitle support that you can use.
Migrating from Internal Linkage to Frozen Linkage - Archive of obsolete content
use .setlength() instead: nsstring mystring = somestring; - mystring.truncate(4); + mystring.setlength(4); the frozen string api doesn't support the iterator or const_iterator classes, but you can use pointers the same way: nsstring mystring = somestring; - nsstring::const_iterator begin, end;- mystring.begin
reading(begin); mystring.end
reading(end); + const prunichar *begin, *end;+ mystring.begin
reading(&begin, &end); the frozen string api uses comparator functions instead of a virtual comparator class.
...#define compare(str1, str2, comp) (str1).compare(str2, comp) #define last() end
reading()[-1] #define setcharat(c, i) replace(i, 1, ch) #define ns_newisupportsarray(result) callcreateinstance(ns_supportsarray_contractid, static_cast<nsisupportsarray**>(result)); ideally we would switch to nsimutablearray, but in the mean time there's no point changing the same code twice.
User Notifications and Alerts - Archive of obsolete content
users will find them annoying and probably will learn to dismiss them as quickly as possible without even
reading what they have to say.
... the bottom right corner of the browser is the recommended location for an alert, because it normally doesn't block the part of the content where the user is
reading, or the most important parts of page content, such as menus and titles.
Promises - Archive of obsolete content
request("login", { username: user, password: password }) .then(response => { if (response.messages) return publish({ username: user, messages: response.messages }); }) .then(null, (e) => { self.reporterror("publication failed", e); }); file io file io in add-ons should be done via the os.file api, which provides a simple, but powerful, interface for
reading, writing, and manipulating both text and binary files.
... components.utils.import("resource://gre/modules/deferredsave.jsm"); /** * handles the asynchronous
reading and writing of add-on-specific json * data files.
Accessing Files - Archive of obsolete content
file and stream guide: [ nsiscriptableio | accessing files | getting file information |
reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] important note: the pages from the file and stream guide use the io object (nsiscriptableio), which was not available in any released version of the platform (pending some fixes).
...other documentation on files and i/o not using the unavailable nsiscriptableio apis: code snippets: file i/o, open and save dialogs,
reading textual data, writing textual data, list of file-related error codes.
Working With Directories - Archive of obsolete content
file and stream guide: [ nsiscriptableio | accessing files | getting file information |
reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] important note: the pages from the file and stream guide use the io object (nsiscriptableio), which was not available in any released version of the platform (pending some fixes).
...other documentation on files and i/o not using the unavailable nsiscriptableio apis: code snippets: file i/o, open and save dialogs,
reading textual data, writing textual data, list of file-related error codes.
Getting File Information - Archive of obsolete content
file and stream guide: [ nsiscriptableio | accessing files | getting file information |
reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] important note: the pages from the file and stream guide use the io object (nsiscriptableio), which was not available in any released version of the platform (pending some fixes).
...other documentation on files and i/o not using the unavailable nsiscriptableio apis: code snippets: file i/o, open and save dialogs,
reading textual data, writing textual data, list of file-related error codes.
Uploading and Downloading Files - Archive of obsolete content
file and stream guide: [ nsiscriptableio | accessing files | getting file information |
reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] important note: the pages from the file and stream guide use the io object (nsiscriptableio), which was not available in any released version of the platform (pending some fixes).
...other documentation on files and i/o not using the unavailable nsiscriptableio apis: code snippets: file i/o, open and save dialogs,
reading textual data, writing textual data, list of file-related error codes.
Moving, Copying and Deleting Files - Archive of obsolete content
file and stream guide: [ nsiscriptableio | accessing files | getting file information |
reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] important note: the pages from the file and stream guide use the io object (nsiscriptableio), which was not available in any released version of the platform (pending some fixes).
...other documentation on files and i/o not using the unavailable nsiscriptableio apis: code snippets: file i/o, open and save dialogs,
reading textual data, writing textual data, list of file-related error codes.
TOC - Archive of obsolete content
file and stream guide: [ nsiscriptableio | accessing files | getting file information |
reading from files | writing to files | moving, copying and deleting files | uploading and downloading files | working with directories ] important note: the pages from the file and stream guide use the io object (nsiscriptableio), which was not available in any released version of the platform (pending some fixes).
...other documentation on files and i/o not using the unavailable nsiscriptableio apis: code snippets: file i/o, open and save dialogs,
reading textual data, writing textual data, list of file-related error codes.
XML - Archive of obsolete content
those authors may be people or machines, but they must use the new language if the readers are to understand what sort of data it is they are
reading.
...it will consist of a lexicon of four terms: memo, to, from, body -- all of which fit together into a syntax represented in most xml circles as: <!element memo (from, to, body)> for developers accustomed to
reading and using xml, this definition indicates that the root element "memo" is constituted by a "from" element, then a "to" element, then a "body" element.
Extentsions FAQ - Archive of obsolete content
are there any fundamental rules related to th
reading in xpcom, and if so, where are these defined?
... friday, september 29 - october 6, 2006 (↑ top) how can we programmatically extract the subject, sender, date and the body of an e- mail when you are
reading one (in thunderbird presumably)?
Index - Game development
it is assumed that before
reading this you have read our 3d collision detection introductory article first, and have basic knowledge about three.js.
... 20 building up a basic demo with the playcanvas engine 3d, animation, beginner, canvas, games, playcanvas, tutorial, webgl, camera, engine, lighting, rendering now you can continue
reading the playcanvas editor article, go back to the building up a basic demo with playcanvas page, or go back a level higher to the main 3d games on the web page.
Building up a basic demo with the PlayCanvas engine - Game development
before
reading on, copy this code to a new text file and save it in your working directory as index.html.
... summary now you can continue
reading the playcanvas editor article, go back to the building up a basic demo with playcanvas page, or go back a level higher to the main 3d games on the web page.
Using data attributes - Learn web development
</article> javascript access
reading the values of these attributes out in javascript is also very simple.
...also, the performance of
reading data-attributes compared to storing this data in a regular js object is poor.
Document and website structure - Learn web development
main content: a big area in the center that contains most of the unique content of a given webpage, for example, the video you want to watch, or the main story you're
reading, or the map you want to view, or the news headlines, etc.
...you can find a lot of detail by
reading our html element reference.
How Mozilla's build system works
finished
reading 1096 moz.build files into 1276 descriptors in 2.40s backend executed in 2.39s 2188 total backend files.
... all the code for
reading moz.build files lives under /python/mozbuild/mozbuild/frontend/.
Reviewer Checklist
be careful when
reading user input, network input, or files on disk.
... th
reading issues enormous: correct use of locking and volatility; livelock and deadlock; ownership.
NetUtil.jsm
aoptions specifies additional options to control the
reading process.
... ns_base_stream_would_block
reading from the specified stream would block the calling thread, and the stream is in non-blocking mode.
OS.File for the main thread
modeoptional the opening mode for the file, as an object that may contain a subset of the following fields: read if true, the file will be opened for
reading.
...depending on other fields, it may also be opened for
reading.
Application Translation with Mercurial
proof-
reading and altering the patch now proof-read the patch.
...if the person requests changes, follow the instructions under proof-
reading and altering the patch.
Leak-hunting strategies and tips
a good general pattern for finding and fixing leaks is to start with a task that you want not to leak (for example,
reading email).
...then go on to selecting a folder, then selecting a message, and then other activities one does while
reading mail.
Introduction to NSPR
nspr threads are scheduled in two separate domains: local threads are scheduled within a process only and are handled entirely by nspr, either by completely emulating threads on each host operating system (os) that doesn't support threads, or by using the th
reading facilities of each host os that does support threads to emulate a relatively large number of local threads by using a relatively small number of native threads.
...it's usually not necessary to create a global thread explicitly unless you are planning to port your code only to platforms that provide th
reading services with which you are familiar or unless the thread will be executing code that might directly call blocking os functions.
Encrypt Decrypt MAC Keys As Session Objects
*/ infile = pr_open(infilename, pr_rdonly, 0); if (!infile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for
reading.\n", infilename); return secfailure; } /* macing and encryption */ if (rv == secsuccess) { rv = encryptandmac(infile, headerfile, encfile, enckey, mackey, ivitem.data, ivitem.len, ascii); if (rv != secsuccess) { pr_fprintf(pr_stderr, "failed : macing and encryption\n"); goto cleanup; ...
... */ infile = pr_open(infilename, pr_rdonly, 0); if (!infile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for
reading.\n", infilename); return secfailure; } pr_close(infile); /* for intermediate header file, choose filename as inputfile name with extension ".header" */ strcpy(headerfilename, infilename); strcat(headerfilename, ".header"); /* for intermediate encrypted file, choose filename as inputfile name with extension ".enc" */ strcpy(enc...
Encrypt and decrypt MAC using token
*/ infile = pr_open(infilename, pr_rdonly, 0); if (!infile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for
reading.\n", infilename); return secfailure; } /* macing and encryption */ if (rv == secsuccess) { rv = encryptandmac(infile, headerfile, encfile, enckey, mackey, ivitem.data, ivitem.len, ascii); if (rv != secsuccess) { pr_fprintf(pr_stderr, "failed : macing and encryption\n"); goto cleanup; ...
... */ infile = pr_open(infilename, pr_rdonly, 0); if (!infile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for
reading.\n", infilename); return secfailure; } pr_close(infile); /* for intermediate header file, choose filename as inputfile name with extension ".header" */ strcpy(headerfilename, infilename); strcat(headerfilename, ".header"); /* for intermediate encrypted file, choose filename as inputfile name with extension ".enc" */ strcpy(enc...
Encrypt Decrypt_MAC_Using Token
*/ infile = pr_open(infilename, pr_rdonly, 0); if (!infile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for
reading.\n", infilename); return secfailure; } /* macing and encryption */ if (rv == secsuccess) { rv = encryptandmac(infile, headerfile, encfile, enckey, mackey, ivitem.data, ivitem.len, ascii); if (rv != secsuccess) { pr_fprintf(pr_stderr, "failed : macing and encryption\n"); goto cleanup; ...
... */ infile = pr_open(infilename, pr_rdonly, 0); if (!infile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for
reading.\n", infilename); return secfailure; } pr_close(infile); /* for intermediate header file, choose filename as inputfile name with extension ".header" */ strcpy(headerfilename, infilename); strcat(headerfilename, ".header"); /* for intermediate encrypted file, choose filename as inputfile name with extension ".enc" */ strcpy(enc...
NSS Sample Code Sample_3_Basic Encryption and MACing
*/ infile = pr_open(infilename, pr_rdonly, 0); if (!infile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for
reading.\n", infilename); return secfailure; } /* macing and encryption */ if (rv == secsuccess) { rv = encryptandmac(infile, headerfile, encfile, enckey, mackey, ivitem.data, ivitem.len, ascii); if (rv != secsuccess) { pr_fprintf(pr_stderr, "failed : macing and encryption\n"); goto cleanup; ...
... */ infile = pr_open(infilename, pr_rdonly, 0); if (!infile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for
reading.\n", infilename); return secfailure; } pr_close(infile); /* for intermediate header file, choose filename as inputfile name with extension ".header" */ strcpy(headerfilename, infilename); strcat(headerfilename, ".header"); /* for intermediate encrypted file, choose filename as inputfile name with extension ".enc" */ strcpy(enc...
EncDecMAC using token object - sample 3
*/ infile = pr_open(infilename, pr_rdonly, 0); if (!infile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for
reading.\n", infilename); return secfailure; } /* macing and encryption */ if (rv == secsuccess) { rv = encryptandmac(infile, headerfile, encfile, enckey, mackey, ivitem.data, ivitem.len, ascii); if (rv != secsuccess) { pr_fprintf(pr_stderr, "failed : macing and encryption\n"); goto cleanup; } } cleanup: if (infile) { pr_close(infile); } if (headerfile) { pr_close(headerfile); } if (encfile) { pr_close(e...
...*/ infile = pr_open(infilename, pr_rdonly, 0); if (!infile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for
reading.\n", infilename); return secfailure; } pr_close(infile); /* for intermediate header file, choose filename as inputfile name with extension ".header" */ strcpy(headerfilename, infilename); strcat(headerfilename, ".header"); /* for intermediate encrypted file, choose filename as inputfile name with extension ".enc" */ strcpy(encryptedfilename, infilename); strcat(encryptedfilename, ".enc"); pr_init...
Bytecode Descriptions
we define the successor graph this way in order to support knowing the stack depth at that instruction without first
reading the whole finally block.
...note: jsop::bindname and jsop::getboundname are the two halves of the jsop::getname operation: finding and
reading a variable.
Tracing JIT
the native code of the trace runs, modifying the state structure and native stack, as well as calling native spidermonkey c functions, and
reading from and writing to objects in the spidermonkey heap.
... some other terminology may be helpful when
reading the code: the term guard denotes a condition that is checked by an executing trace to confirm that some assumptions made during recording still hold.
JS_CompileUTF8FileHandle
compile a script,
reading the source code from a stdio file.
...if an error occurs during compilation, js_compileutf8filehandle stops
reading from the file and returns null.
Mork
the information on this page was constructed by
reading the source code of the mork database in mozilla and attempting to codify what it parses as faithfully as possible.
...more detail about individual functions can be found by
reading the documentation included in morkreader.h.
History Service Design
charset for pages: allows setting and
reading charset for each page.
... performance to ensure performance a bunch of statements, commonly used when adding or
reading visit informations, are created at startup.
nsACString
methods begin
reading the begin
reading function returns a const pointer to the first element of the string's internal buffer.
... end
reading the end
reading function returns a const char_type pointer to the element just beyond the last element of the string's internal buffer.
nsIConverterInputStream
this allows
reading unicode strings from a stream, automatically converting the bytes from a selected character encoding.
... see also nsiconverteroutputstream see
reading textual data for an example.
nsILocalFile
a bitwise combination of the following open flags: pr_rdonly open for
reading only.
... pr_rdwr open for
reading and writing.
nsIScriptableUnicodeConverter
if the other apis you are
reading data from or writing data to don't require you to use this legacy representation, you should use textdecoder and textencoder (available to chrome javascript via components.utils.importglobalproperties) instead of this api.
... examples see
reading textual data and writing textual data for examples.
The Thread Manager
application/extension javascript should consider using a chromeworker instead.") interfaces there are several interfaces that provide th
reading support: nsithreadmanager the thread manager itself lets you create threads.
... nsithread the nsithread interface encapsulates an operating system thread, providing easy cross-platform access to multith
reading in your code.
Working with windows in chrome code
todo: link to how to pass an xpcom object to a new window when it has a more useful example opener code: window.opendialog("chrome://test/content/progress.xul", "myprogress", "chrome,centerscreen", {status: "
reading remote data", maxprogress: 50, progress: 10} ); progress.xul: <?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <window onload="onload();" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <script><![cdata[ var gstatus, gprogressmeter; var maxprogress = 100; function onload() { gstatus = document.getelementbyid("status"); gprogress...
... window.opendialog( "chrome://test/content/progress.xul", "myprogress", "chrome,centerscreen", {status: "
reading remote data", maxprogress: 50, progress: 10}, oncancel ); the progress dialog can then run the callback like this: <button label="cancel" oncommand="window.arguments[1](); close();" /> example 3: using nsiwindowmediator when opener is not enough the window.opener property is very easy to use, but it's only useful when you're sure that your window was opened from one of a few well-known pl...
CData
here is a method to read "malformed", it attempts to do readstring on it, if it errors then it tries to read it in another way, so this is an alternative to readstringreplacemalformed, it is an attempt at
readingmalformed function readaschar8thenaschar16(stringptr, known_len, jschar) { // when
reading as jschar it assumes max length of 500 // stringptr is either char or jschar, if you know its jschar for sure, pass 2nd arg as true // if known_len is passed, then assumption is not made, at the known_len position in array we will see a null char // i tried getting known_len from stringptr ...
...known_len : 500; var ptrasarr = ctypes.cast(stringptr, ctypes.unsigned_char.array(assumption_max_len).ptr).contents; // must cast to unsigned char (not ctypes.jschar, or ctypes.char) as otherwise i dont get foreign characters, as they are got as negative values, and i should read till i find a 0 which is null terminator which will have unsigned_char code of 0 // can test this by
reading a string like this: "_scratchpad/entehandle.js at master · noitidart/_scratchpad mdnfirefox" at js array position 36 (so 37 if count from 1), we see 183, and at 77 we see char code of 0 if casted to unsigned_char, if casted to char we see -73 at pos 36 but pos 77 still 0, if casted to jschar we see chineese characters in all spots expect spaces even null terminator is a chineese character ...
Scripting plugins - Plugins
the new nppvariable enumeration is defined in npapi.h as: nppvpluginscriptablenpobject = 15 th
reading model this api is not designed to be thread safe.
... the th
reading model for this api is such that all calls through this api are synchronous and calls from a plugin to methods in this api must come from the thread on which the plugin was initiated, and likewise all calls to methods in this api by the browser are guaranteed to come from the same thread.
AbsoluteOrientationSensor - Web APIs
syntax var absoluteorientationsensor = new absoluteorientationsensor([options]) parameters options optional options are as follows: frequency: the desired number of times per second a sample should be taken, meaning the number of times per second that sensor.on
reading will be called.
...the actual
reading frequency depends device hardware and consequently may be less than requested.
AbsoluteOrientationSensor - Web APIs
on each
reading it uses orientationsensor.quaternion to rotate a visual model of a phone.
... const options = { frequency: 60, referenceframe: 'device' }; const sensor = new absoluteorientationsensor(options); sensor.addeventlistener('
reading', () => { // model is a three.js object instantiated elsewhere.
Accelerometer.x - Web APIs
example acceleration is typically read in the sensor.on
reading event callback.
... let accelerometer = new accelerometer({frequency: 60}); accelerometer.addeventlistener('
reading', e => { console.log("acceleration along the x-axis " + accelerometer.x); console.log("acceleration along the y-axis " + accelerometer.y); console.log("acceleration along the z-axis " + accelerometer.z); }); accelerometer.start(); specifications specification status comment generic sensor api candidate recommendation defines sensors in general.
Accelerometer.y - Web APIs
example acceleration is typically read in the sensor.on
reading event callback.
... let accelerometer = new accelerometer({frequency: 60}); accelerometer.addeventlistener('
reading', e => { console.log("acceleration along the x-axis " + accelerometer.x); console.log("acceleration along the y-axis " + accelerometer.y); console.log("acceleration along the z-axis " + accelerometer.z); }); accelerometer.start(); specifications specification status comment generic sensor api candidate recommendation defines sensors in general.
Accelerometer.z - Web APIs
example acceleration is typically read in the sensor.on
reading event callback.
... let accelerometer = new accelerometer({frequency: 60}); accelerometer.addeventlistener('
reading', e => { console.log("acceleration along the x-axis " + accelerometer.x); console.log("acceleration along the y-axis " + accelerometer.y); console.log("acceleration along the z-axis " + accelerometer.z); }); accelerometer.start(); specifications specification status comment generic sensor api candidate recommendation defines sensors in general.
AmbientLightSensor.AmbientLightSensor() - Web APIs
syntax var ambientlightsensor = new ambientlightsensor(options) parameters options optional currently only one option is supported: frequency: the desired number of times per second a sample should be taken, meaning the number of times per second that sensor.on
reading will be called.
...the actual
reading frequency depends device hardware and consequently may be less than requested.
Blob.stream() - Web APIs
the blob interface's stream() method returns a readablestream which upon
reading returns the data contained within the blob.
... returns a readablestream which, upon
reading, returns the contents of the blob.
ClipboardItem - Web APIs
the clipboarditem interface of the clipboard api represents a single item format, used when
reading or writing data via the clipboard api.
... async function writeclipimg() { try { const imgurl = '/myimage.png'; const data = await fetch(imgurl); const blob = await data.blob(); await navigator.clipboard.write([ new clipboarditem({ [blob.type]: blob }) ]); console.log('fetched image copied.'); } catch(err) { console.error(err.name, err.message); } }
reading from the clipboard here we're returning all items on the clipboard via the clipboard.read() method.
Clipboard API - Web APIs
interfaces clipboard secure context provides an interface for
reading and writing text and data to or from the system clipboard.
... clipboarditem secure context represents a single item format, used when
reading or writing data.
ContentIndex.getAll() - Web APIs
async function create
readinglist() { // access our service worker registration const registration = await navigator.serviceworker.ready; // get our index entries const entries = await registration.index.getall(); // create a containing element const
readinglistelem = document.createelement('div'); // test for entries if (!array.length) { // if there are no entries, display a message const message ...
...= document.createelement('p'); message.innertext = 'you currently have no articles saved for offline
reading.'
readinglistelem.append(message); } else { // if entries are present, display in a list of links to the content const listelem = document.createelement('ul'); for (const entry of entries) { const listitem = document.createelement('li'); const anchorelem = document.createelement('a'); anchorelem.innertext = entry.title; anchorelem.setattribute('href', entry.url); listelem.append(listitem); }
readinglistelem.append(listelem); } } specifications specification status comment unknownthe definition of 'getall' in that specification.
ContentIndex - Web APIs
async function create
readinglist() { // access our service worker registration const registration = await navigator.serviceworker.ready; // get our index entries const entries = await registration.index.getall(); // create a containing element const
readinglistelem = document.createelement('div'); // test for entries if (!array.length) { // if there are no entries, display a message const message ...
...= document.createelement('p'); message.innertext = 'you currently have no articles saved for offline
reading.'
readinglistelem.append(message); } else { // if entries are present, display in a list of links to the content const listelem = document.createelement('ul'); for (const entry of entries) { const listitem = document.createelement('li'); const anchorelem = document.createelement('a'); anchorelem.innertext = entry.title; anchorelem.setattribute('href', entry.url); listelem.append(listitem); }
readinglistelem.append(listelem); } } unregistering indexed content below is an asynchronous function, that removes an item from the content index.
Element.scrollHeight - Web APIs
/> <label for="agree">i agree</label> <input type="submit" id="nextstep" value="next" /> </p> </form> css #notice { display: inline-block; margin-bottom: 12px; border-radius: 5px; width: 600px; padding: 5px; border: 2px #7fdf55 solid; } #rules { width: 600px; height: 130px; padding: 5px; border: #2a9f00 solid 2px; border-radius: 5px; } javascript function check
reading () { if (check
reading.read) { return; } check
reading.read = this.scrollheight - this.scrolltop === this.clientheight; document.registration.accept.disabled = document.getelementbyid("nextstep").disabled = !check
reading.read; check
reading.noticebox.innerhtml = check
reading.read ?
... "thank you." : "please, scroll and read the following text."; } onload = function () { var otoberead = document.getelementbyid("rules"); check
reading.noticebox = document.createelement("span"); document.registration.accept.checked = false; check
reading.noticebox.id = "notice"; otoberead.parentnode.insertbefore(check
reading.noticebox, otoberead); otoberead.parentnode.insertbefore(document.createelement("br"), otoberead); otoberead.onscroll = check
reading; check
reading.call(otoberead); } specifications specification status comment css object model (cssom) view modulethe definition of 'element.scrollheight' in that specification.
Using Fetch - Web APIs
the copy must be made before the body is read, and
reading the body in the copy will also mark it as read in the original request.
...both methods of creating a copy will fail if the body of the original request or response has already been read, but
reading the body of a cloned response or request will not cause it to be marked as read in the original.
FileReader.result - Web APIs
syntax var file = instanceoffilereader.result value an appropiate string or arraybuffer based on which of the
reading methods was used to initiate the read operation.
... the value is null if the
reading is not yet complete or was unsuccessful.
Gyroscope.x - Web APIs
example the gyroscope is typically read in the sensor.on
reading event callback.
... let gyroscope = new gyroscope({frequency: 60}); gyroscope.addeventlistener('
reading', e => { console.log("angular velocity along the x-axis " + gyroscope.x); console.log("angular velocity along the y-axis " + gyroscope.y); console.log("angular velocity along the z-axis " + gyroscope.z); }); gyroscope.start(); specifications specification status comment generic sensor api candidate recommendation defines sensors in general.
Gyroscope.y - Web APIs
example the gyroscope is typically read in the sensor.on
reading event callback.
... let gyroscope = new gyroscope({frequency: 60}); gyroscope.addeventlistener('
reading', e => { console.log("angular velocety along the x-axis " + gyroscope.x); console.log("angular velocety along the y-axis " + gyroscope.y); console.log("angular velocety along the z-axis " + gyroscope.z); }); gyroscope.start(); specifications specification status comment generic sensor api candidate recommendation defines sensors in general.
Gyroscope.z - Web APIs
example the gyroscope is typically read in the sensor.on
reading event callback.
... let gyroscope = new gyroscope({frequency: 60}); gyroscope.addeventlistener('
reading', e => { console.log("angular velocety along the x-axis " + gyroscope.x); console.log("angular velocety along the y-axis " + gyroscope.y); console.log("angular velocety along the z-axis " + gyroscope.z); }); gyroscope.start(); specifications specification status comment generic sensor api candidate recommendation defines sensors in general.
IDBTransaction - Web APIs
all
reading and writing of data is done within transactions.
... read_write "readwrite" (1 in chrome) allows
reading and writing of data in existing data stores to be changed.
LinearAccelerationSensor.x - Web APIs
example linear acceleration is typically read in the sensor.on
reading event callback.
... let lasensor = new linearaccelerationsensor({frequency: 60}); lasensor.addeventlistener('
reading', e => { console.log("linear acceleration along the x-axis " + lasensor.x); console.log("linear acceleration along the y-axis " + lasensor.y); console.log("linear acceleration along the z-axis " + lasensor.z); }); lasensor.start(); specifications specification status comment generic sensor api candidate recommendation defines sensors in general.
LinearAccelerationSensor.y - Web APIs
example linear acceleration is typically read in the sensor.on
reading event callback.
... let lasensor = new linearaccelerationsensor({frequency: 60}); lasensor.addeventlistener('
reading', e => { console.log("linear acceleration along the x-axis " + lasensor.x); console.log("linear acceleration along the y-axis " + lasensor.y); console.log("linear acceleration along the z-axis " + lasensor.z); }); lasensor.start(); specifications specification status comment generic sensor api candidate recommendation defines sensors in general.
LinearAccelerationSensor.z - Web APIs
example linear acceleration is typically read in the sensor.on
reading event callback.
... let lasensor = new linearaccelerationsensor({frequency: 60}); lasensor.addeventlistener('
reading', e => { console.log("linear acceleration along the x-axis " + lasensor.x); console.log("linear acceleration along the y-axis " + lasensor.y); console.log("linear acceleration along the z-axis " + lasensor.z); }); lasensor.start(); specifications specification status comment generic sensor api candidate recommendation defines sensors in general.
LockedFile.readAsArrayBuffer() - Web APIs
summary the readasarraybuffer method is used to read the content of the lockedfile object and provide the result of that
reading as an arraybuffer.
... the
reading operation starts at the position given by the lockedfile.location property.
LockedFile.readAsText() - Web APIs
summary the readastext method is used to read the content of the lockedfile object and provide the result of that
reading as a string.
... the
reading operation starts at the position given by the lockedfile.location property.
Magnetometer.Magnetometer() - Web APIs
syntax var magnetometer = new magnetometer([options]) parameters options optional options are as follows: frequency: the desired number of times per second a sample should be taken, meaning the number of times per second that sensor.on
reading will be called.
...the actual
reading frequency depends on device hardware and consequently may be less than requested.
Magnetometer.x - Web APIs
example the magnetometer is typically read in the sensor.on
reading event callback.
... let magsensor = new magnetometer({frequency: 60}); magsensor.addeventlistener('
reading', e => { console.log("magnetic field along the x-axis " + magsensor.x); console.log("magnetic field along the y-axis " + magsensor.y); console.log("magnetic field along the z-axis " + magsensor.z); }); magsensor.start(); specifications specification status comment generic sensor api candidate recommendation defines sensors in general.
Magnetometer.y - Web APIs
example the magnetometer is typically read in the sensor.on
reading event callback.
... let magsensor = new magnetometer({frequency: 60}); magsensor.addeventlistener('
reading', e => { console.log("magnetic field along the x-axis " + magsensor.x); console.log("magnetic field along the y-axis " + magsensor.y); console.log("magnetic field along the z-axis " + magsensor.z); }); magsensor.start(); specifications specification status comment generic sensor api candidate recommendation defines sensors in general.
Magnetometer.z - Web APIs
example the magnetometer is typically read in the sensor.on
reading event callback.
... let magsensor = new magnetometer({frequency: 60}); magsensor.addeventlistener('
reading', e => { console.log("magnetic field along the x-axis " + magsensor.x); console.log("magnetic field along the y-axis " + magsensor.y); console.log("magnetic field along the z-axis " + magsensor.z); }); magsensor.start(); specifications specification status comment generic sensor api candidate recommendation defines sensors in general.
Magnetometer - Web APIs
example the magnetometer is typically read in the sensor.on
reading event callback.
... let magsensor = new magnetometer({frequency: 60}); magsensor.addeventlistener('
reading', e => { console.log("magnetic field along the x-axis " + magsensor.x); console.log("magnetic field along the y-axis " + magsensor.y); console.log("magnetic field along the z-axis " + magsensor.z); }); magsensor.start(); specifications specification status comment generic sensor api candidate recommendation defines sensors in general.
NDEFReader - Web APIs
ndefreader.on
reading an event handler for
reading event, that notifies about availability of a new
reading.
... ndefreader.onerror an event handler for error event which is called to notify that an error occured during
reading.
RelativeOrientationSensor.RelativeOrientationSensor() - Web APIs
syntax var relativeorientationsensor = new relativeorientationsensor([options]) parameters options optional options are as follows: frequency: the desired number of times per second a sample should be taken, meaning the number of times per second that sensor.on
reading will be called.
...the actual
reading frequency depends device hardware and consequently may be less than requested.
RelativeOrientationSensor - Web APIs
on each
reading it uses orientationsensor.quaternion to rotate a visual model of a phone.
... const options = { frequency: 60, referenceframe: 'device' }; const sensor = new relativeorientationsensor(options); sensor.addeventlistener('
reading', () => { // model is a three.js object instantiated elsewhere.
Writing WebSocket servers - Web APIs
decoding payload length to read the payload data, you must know when to stop
reading.
...
reading and unmasking the data if the mask bit was set (and it should be, for client-to-server messages), read the next 4 octets (32 bits); this is the masking key.
x-ms-aria-flowfrom - Accessibility
the x-ms-aria-flowfrom property specifies the id of the previous element in an alternative
reading order, allowing assistive technology to override the general default of
reading in document source order.
... syntax x-ms-aria-flowfrom="elementid"; value the x-ms-aria-flowfrom property value uses an id selector to define which previous element the
reading order will flow from.
Web accessibility for seizures and physical reactions - Accessibility
in the case of photosensitive epilepsy, seizures are triggered specifically by flashing lights, but other types of reflex epilepsies may be triggered by the act of
reading, or by noises.
...for example, many users have difficulty
reading text that has a small difference in contrast to the text background and would prefer a larger contrast." sometimes there can be such a thing as too much contrast; a halo effect around text can occur in such situations and actually reduce legibility.
Ordering Flex Items - CSS: Cascading Style Sheets
flexbox and the keyboard navigation disconnect html source order vs css display order the responsive order conflict for keyboard focus use cases for order there are sometimes places where the fact that the logical and therefore
reading order of flex items is separate from the visual order, is helpful.
...keep the logical order as the
reading and tab order of the document, and maintain that in the most accessible and structured fashion.
CSS Grid Layout and Accessibility - CSS: Cascading Style Sheets
further
reading there is not a lot of existing material regarding accessibility and css grid layout.
... as a way to start thinking about these issues, as you use css grid layout i would suggest
reading flexbox & the keyboard navigation disconnect from léonie watson.
font-weight - CSS: Cascading Style Sheets
t"]'); let weightinput = document.queryselector('#weight'); let sampletext = document.queryselector('.sample'); function update() { weightlabel.textcontent = `font-weight: ${weightinput.value};`; sampletext.style.fontweight = weightinput.value; } weightinput.addeventlistener('input', update); update(); accessibility concerns people experiencing low vision conditions may have difficulty
reading text set with a font-weight value of 100 (thin/hairline) or 200 (extra light), especially if the font has a low contrast color ratio.
...d | <number <a href="/docs/css/value_definition_syntax#brackets" title="brackets: enclose several entities, combinators, and multipliers to transform them as a single component">[1,1000]> examples setting font weights html <p> alice was beginning to get very tired of sitting by her sister on the bank, and of having nothing to do: once or twice she had peeped into the book her sister was
reading, but it had no pictures or conversations in it, "and what is the use of a book," thought alice "without pictures or conversations?" </p> <div>i'm heavy<br/> <span>i'm lighter</span> </div> css /* set paragraph text to be bold.
Guide to scroll anchoring - CSS: Cascading Style Sheets
you browse to a long page on a slow connection and begin to scroll to read the content; while you are busy
reading, the part of the page you are looking at suddenly jumps.
... in bug 1584285 the layout.css.scroll-anchoring.suppressions.enabled flag was added to firefox nightly in order to allow the disabling of these triggers further
reading explainer document on the wicg site scroll anchoring for web developers on the chromium blog implement a pin-to-bottom scrolling element using scroll anchoring ...
<a>: The Anchor element - HTML: Hypertext Markup Language
people experiencing low vision conditions, navigating with the aid of screen
reading technology, or with cognitive concerns may be confused when a new tab, window, or application opens unexpectedly.
... older screen-
reading software may not even announce the behavior.
Inline elements - HTML: Hypertext Markup Language
because the <span> element is inline, the paragraph correctly renders as a single, unbroken text flow, like this: for looks, this css (not displayed in standard
reading mode) is also used: body { margin: 0; padding: 4px; border: 1px solid #333; } .highlight { background-color:#ee3; } block-level now let's change that <span> into a block-level element, such as <p>: <div>the following paragraph is a <p class="highlight">block-level element;</p> its background has been colored to display both the beginning and end of the block-level element's influenc...
...e.</div> the css (not displayed in standard
reading mode) is also used: body { margin: 0; padding: 4px; border: 1px solid #333; } .highlight { background-color:#ee3; } rendered using the same css as before, we get: see the difference?
CORS errors - HTTP
if the cors configuration isn't setup correctly, the browser console will present an error like "cross-origin request blocked: the same origin policy disallows
reading the remote resource at $somesite" indicating that the request was blocked due to violating the cors security rules.
...it will probably look like this: the text of the error message will be something similar to the following: cross-origin request blocked: the same origin policy disallows
reading the remote resource at https://some-url-here.
Memory Management - JavaScript
using values using values basically means
reading and writing in allocated memory.
... this can be done by
reading or writing the value of a variable or an object property or even passing an argument to a function.
JavaScript typed arrays - JavaScript
javascript typed arrays are array-like objects that provide a mechanism for
reading and writing raw binary data in memory buffers.
... filereader.prototype.readasarraybuffer() the filereader.prototype.readasarraybuffer() method starts
reading the contents of the specified blob or file.
core/heritage - Archive of obsolete content
reading or writing such code requires sharp eye and lot's of discipline, mainly due to code fragmentation and lots of machinery being exposed: // defining a simple class function dog(name) { // classes are for creating instances, calling them without `new` changes // behavior, which in majority cases you need to handle, so you end up // with additional boilerplate.
Flexbox - MDN Web Docs Glossary: Definitions of Web-related terms
learn more property reference align-content align-items align-self flex flex-basis flex-direction flex-flow flex-grow flex-shrink flex-wrap justify-content order further
reading css flexible box layout module level 1 specification css flexbox guide: basic concepts of flexbox css flexbox guide: relationship of flexbox to other layout methods css flexbox guide: aligning items in a flex container css flexbox guide: ordering flex items css flexbox guide: controlling ratios of flex items along the main axis css flexbox guide: mastering wrapping of flex items css fle...
Grid Areas - MDN Web Docs Glossary: Definitions of Web-related terms
1fr); grid-template-rows: 100px 100px; grid-template-areas: "a a b" "a a b"; } .item1 { grid-area: a; } .item2 { grid-area: b; } <div class="wrapper"> <div class="item1">item</div> <div class="item2">item</div> </div> learn more property reference grid-template-columns grid-template-rows grid-auto-rows grid-auto-columns grid-template-areas grid-area further
reading css grid layout guide: basic concepts of grid layout css grid layout guide: grid template areas definition of grid areas in the css grid layout specification ...
Grid Cell - MDN Web Docs Glossary: Definitions of Web-related terms
: #ffd8a8; padding: 1em; color: #d9480f; } .wrapper { display: grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: 100px; } <div class="wrapper"> <div>one</div> <div>two</div> <div>three</div> <div>four</div> <div>five</div> </div> learn more property reference grid-template-columns grid-template-rows grid-auto-rows grid-auto-columns further
reading css grid layout guide: basic concepts of grid layout definition of grid cells in the css grid layout specification ...
Grid Lines - MDN Web Docs Glossary: Definitions of Web-related terms
1fr [cols-end]; grid-template-rows: [row1-start] 100px [row2-start] 100px [rows-end]; } .item { grid-column-start: col1-start; grid-column-end: col3-start; grid-row-start: row1-start; grid-row-end: rows-end; } learn more property reference grid-template-columns grid-template-rows grid-column-start grid-column-end grid-column grid-row-start grid-row-end grid-row further
reading css grid layout guide: basic concepts of grid layout css grid layout guide: line-based placement with css grid css grid layout guide: layout using named grid lines css grid layout guide: css grids, logical values and writing modes definition of grid lines in the css grid layout specification ...
Main Axis - MDN Web Docs Glossary: Definitions of Web-related terms
learn more property reference flex-basis flex-direction flex-grow flex-shrink justify-content flex further
reading css flexbox guide: basic concepts of flexbox css flexbox guide: aligning items in a flex container css flexbox guide: controlling ratios of flex items along the main axis ...
WAI-ARIA basics - Learn web development
the initial solution was to add one or more hidden links at the top of the page to link to the navigation (or whatever else), for example: <a href="#hidden" class="hidden">skip to navigation</a> but this is still not very precise, and can only be used when the screenreader is
reading from the top of the page.
Cascade and inheritance - Learn web development
the effect of css location finally, it is also useful to note that the importance of a css declaration depends on what stylesheet it is specified in — it is possible for users to set custom stylesheets to override the developer's styles, for example the user might be visually impaired, and want to set the font size on all web pages they visit to be double the normal size to allow for easier
reading.
Localizing with Koala
if you click on the highlighted arrow pointing down while
reading this tutorial on mdc, you will see two string that need to be translated: add "mdc search" manage search engines...
Localizing without a specialized tool
if you click on the highlighted arrow pointing down while
reading this tutorial on mdc, you will see two string that need to be translated: add "mdc search" manage search engines...
MathML Accessibility in Mozilla
this table below provides a list of mathml constructions and how they are read in mozilla applications for various platforms: windows: mathml support is provided by nvda, which actually delegates math
reading to the proprietary mathplayer plugin.
Mozilla Web Developer FAQ
try asking in the newsgroup relevant to your question in the comp.infosystems.www.authoring.* hierarchy or, if your question is about javascript/ecmascript or the dom, in comp.lang.javascript (after
reading the group faqs first, of course).
Mozilla Web Services Security Model
<webscriptaccess xmlns="http://www.mozilla.org/2002/soap/security"> <allow type="soapv"/> <allow type="soap"/> </webscriptaccess> good examples (needed.) references new security model for web services, the original proposal for the web-scripts-access.xml file format web services roadmap, documenting when web services features, including the security model, were first supported additional
reading documentation of crossdomain.xml, a similar format used by macromedia flash player ...
Mozilla Development Tools
it is our home-grown web-based tool for watching the up-to-the-minute goings-on in our cvs repository (viewing checkins and log messages,
reading diffs, etc.) tinderbox tinderbox is for knowing when the tree is in flames.
BloatView
reading individual bloat logs full bloatview output contains per-class statistics on allocations and refcounts, and provides gross numbers on the amount of memory being leaked broken down by class.
Intel Power Gadget
note: the power profiling overview is worth
reading at this point if you haven't already.
TimerFirings logging
note: the power profiling overview is worth
reading at this point if you haven't already.
dtrace
note: the power profiling overview is worth
reading at this point if you haven't already.
perf
note: the power profiling overview is worth
reading at this point if you haven't already.
powermetrics
note: the power profiling overview is worth
reading at this point if you haven't already.
tools/power/rapl
note: the power profiling overview is worth
reading at this point if you haven't already.
turbostat
note: the power profiling overview is worth
reading at this point if you haven't already.
Index
this is done by
reading the “issuer name” attribute of a certificate (a), and trying to find that issuer certificate (b) (by looking for a certificate that uses that name as its “subject name”).
Introduction to Network Security Services
figure 1, below, shows a simplified view of the relationships among the three shared libraries listed above and nspr, which provides low-level cross platform support for operations such as th
reading and i/o.
NSS 3.28.1 release notes
bugs fixed in nss 3.28.1 bug 1296697 - december 2016 batch of root ca changes bug 1322496 - internal error assert when the other side closes connection before
reading eoed compatibility nss 3.28.1 shared libraries are backward compatible with all older nss 3.x shared libraries.
NSS 3.35 release notes
nss 3.30 had introduced a regression, preventing nss from
reading some aes encrypted data, produced by older versions of nss.
NSS 3.37 release notes
with nss 3.37, this alternative implementation for linux has been enhanced to use the glibc function getentropy(), instead of
reading from /dev/urandom directly, if the build and runtime linux platform supports it.
NSS API Guidelines
within pkcs #11, wraps crypto lib/freebl blapi.h, blapit.h jar provides support for
reading and writing data in java archive (jar) format, including zlib compression.
Enc Dec MAC Output Public Key as CSR
*/ infile = pr_open(infilename, pr_rdonly, 0); if (!infile) { pr_fprintf(pr_stderr, "unable to open \"%s\" for
reading.\n", infilename); return secfailure; } /* macing and encryption */ if (rv == secsuccess) { rv = encryptandmac(infile, headerfile, encfile, enckey, mackey, ivitem.data, ivitem.len, ascii); if (rv != secsuccess) { pr_fprintf(pr_stderr, "failed : macing and encryption\n"); goto cleanup; } } c...
Necko Architecture
an nsistreamlistener is told when the uri transaction has "started," when data is available (in the case of
reading data), and when it has "stopped." it is up to the nsistreamlistener implementation to decide what to do with these various notifications.
Necko
browse our code in its latest state at netwerk/ documents a necko code walkthrough necko architecture necko multith
reading necko faq necko interfaces overview the necko http module proxies in necko pac files community view mozilla forums...
Rhino Examples
the file class - an advanced example file.java extends scriptableobject to provide a means of
reading and writing files from javascript.
Rhino serialization
reading the serialized object back into memory is similarly simple: fileinputstream fis = new fileinputstream(filename); objectinputstream in = new scriptableinputstream(fis, scope); object deserialized = in.readobject(); in.close(); again, we need the scope to create our serialization stream class.
Rhino shell
the next invocation has no arguments, so the shell goes into interactive mode,
reading and evaluating each line as it is typed in.
XPCOM changes in Gecko 2.0
once that's done, the extensions can then be loaded by simply
reading their manifests, loading their components, and continuing the startup process, all without having to restart the browser.
Creating the Component Code
this is very useful if the caller is required to know information about the component like its th
reading module, whether or not it's a singleton, its implementation language, and so forth.
Preface
a special thanks goes to darin fisher for his very acute observations, close
reading, and attention to detail.
Starting WebLock
using nsilocalfile for
reading data an nsifile object returned from the directory service may also implement the nsilocalfile interface, which has a method that will return a file pointer that can be used in fread().
Creating XPCOM components
e xpidl syntax scriptable interfaces subclassing nsisupports the web locking interface implementing weblock declaration macros representing return values in xpcom xpidl code generation getting the weblock service from a client implementing the iweblock interface the directory service modifying paths with nsifile manipulating files with nsifile using nsilocalfile for
reading data processing the white list data iweblock method by method lock and unlock addsite removesite setsites getnext getsites hasmoreelements finishing the component using frozen interfaces copying interfaces into your build environment implementing the nsicontentpolicy interface receiving notifications implementing the nsicontentpolicy uniform resou...
Receiving startup notifications
once that process is completed, extensions can then be loaded by simply
reading their manifests, loading their components, and continuing with application startup, all without having to restart the browser.
Language bindings
more specifically, an xpcom language binding: enables access to xpcom objects from that language (where access means
reading/writing/creating xpcom objects as well as calling methods on them).
nsScriptableInputStream
} } catch (e) { dump("error: failed
reading from stream:\n" + e + "\n"); } } see also nsiscriptableinputstream ...
IAccessibleText
however, if the application developer was not satisfied with how screen readers have handled the
reading of sentences this boundary type could be implemented and screen readers could use the application's version of a sentence rather than the screen reader's.
mozIJSSubScriptLoader
ignorecache boolean if present and set to true, the cache will be bypassed when
reading the file.
nsIAccessibleRole
assistive technologies typically respond to the role by
reading the entire on screen contents of containers advertising this role.
nsIComponentManager
void removebootstrappedmanifestlocation( in interface nsilocalfile alocation ); parameters examples using addbootstrappedmanifestlocation in a bootstrapped extension for firefox 8 and 9: alocation the directory or xpi to stop
reading the chrome.manifest from.
nsICookie2
"accessed" means creation, modification, or
reading by the server.
nsICryptoHash
ile: // hardcoded here for convenience var path = "c:\\windows\\notepad.exe"; var f = components.classes["@mozilla.org/file/local;1"] .createinstance(components.interfaces.nsilocalfile); f.initwithpath(path); var istream = components.classes["@mozilla.org/network/file-input-stream;1"] .createinstance(components.interfaces.nsifileinputstream); // open for
reading istream.init(f, 0x01, 0444, 0); var ch = components.classes["@mozilla.org/security/hash;1"] .createinstance(components.interfaces.nsicryptohash); // we want to use the sha256 algorithm ch.init(ch.sha256); // this tells updatefromstream to read the entire file const pr_uint32_max = 0xffffffff; ch.updatefromstream(istream, pr_uint32_max); // pass false here to get binary data bac...
nsIMsgDBView
supportsth
reading boolean readonly: does the current database support th
reading?
nsIMsgFilter
throws an exception if the action is not label attribute nsmsglabelvalue label; junkscore attribute long junkscore; strvalue attribute autf8string strvalue; customid // action id if type is custom attribute acstring customid; customaction // custom action associated with customid // (which must be set prior to
reading this attribute) readonly attribute nsimsgfiltercustomaction customaction; methods addterm() void nsimsgfilter::addterm ( in nsmsgsearchattribvalue attrib, in nsmsgsearchopvalue op, in nsimsgsearchvalue value, in boolean booleanand, in acstring arbitraryheader ) getterm() void nsimsgfilter::getterm ( in long ...
nsIMsgRuleAction
throws an exception if the action is not label attribute nsmsglabelvalue label; // junkscore throws an exception if the action type is not junkscore attribute long junkscore; attribute autf8string strvalue; // action id if type is custom attribute acstring customid; // custom action associated with customid // (which must be set prior to
reading this attribute) readonly attribute nsimsgfiltercustomaction customaction; }; ...
nsINavHistoryQuery
duplicate tags may be specified, but when
reading the list, only unique tags are returned.
nsIUpdate
read_error (6) an error occurred while
reading the patch.
nsIZipWriter
but note that if dir doesnt exist zw.open throws problems //var path = fp.file.path; //returns c:\users\3k2kyc1\documents\prefs\prefs var xpi = fu.file(dir.path + '\\' + dir.leafname + '.zip'); zw.open(xpi, pr.pr_rdwr | pr.pr_create_file | pr.pr_truncate); //pr_truncate overwrites if file exists //pr_create_file creates file if it dne //pr_rdwr opens for
reading and writing //recursviely add all var dirarr = [dir]; //adds dirs to this as it finds it for (var i=0; i<dirarr.length; i++) { cu.reporterror('adding contents of dir['+i+']: ' + dirarr[i].leafname + ' path: ' + dirarr[i].path); var direntries = dirarr[i].directoryentries; while (direntries.hasmoreelements()) { var entry = direntries.getnext().queryint...
Storage
you can find out more by
reading sqlite's documentation on this.
Using the clipboard
for
reading from the clipboard you can call the init method of the transferable with null as nsiloadcontext, but you have to call it.
XPCOM tasks
p1 various th
reading issues, e.g., too many locks.
Index
this may seem like a lot of infrastructure just to read messages from a flat file, but it allows us to do it asynchronously, and to have
reading local messages fit into the same kind of mechanisms that
reading nntp and imap messages do - running urls, getting onstart/stoprunningurl notifications when the url starts/stops, etc.
AmbientLightSensor - Web APIs
example if ( 'ambientlightsensor' in window ) { const sensor = new ambientlightsensor(); sensor.on
reading = () => { console.log('current light level:', sensor.illuminance); }; sensor.onerror = (event) => { console.log(event.error.name, event.error.message); }; sensor.start(); } specifications specification status comment generic sensor api candidate recommendation defines sensors in general.
Body.arrayBuffer() - Web APIs
.then(function(response) { return response.arraybuffer(); }).then(function(buffer) { audioctx.decodeaudiodata(buffer, function(decodeddata) { source.buffer = decodeddata; source.connect(audioctx.destination); }); }); }; // wire up buttons to stop and play audio play.onclick = function() { getdata(); source.start(0); play.setattribute('disabled', 'disabled'); }
reading files the response() constructor accepts files and blobs, so it may be used to read a file into other formats.
A basic ray-caster - Web APIs
after realizing, to my delight, that the nifty <canvas> element i'd been
reading about was not only soon to be supported in firefox, but was already supported in the current version of safari, i had to try a little experiment.
Pixel manipulation with canvas - Web APIs
ord = 50; const ycoord = 100; const canvaswidth = 1024; const getcolorindicesforcoord = (x, y, width) => { const red = y * (width * 4) + x * 4; return [red, red + 1, red + 2, red + 3]; }; const colorindices = getcolorindicesforcoord(xcoord, ycoord, canvaswidth); const [redindex, greenindex, blueindex, alphaindex] = colorindices; you may also access the size of the pixel array in bytes by
reading the uint8clampedarray.length attribute: var numbytes = imagedata.data.length; creating an imagedata object to create a new, blank imagedata object, you should use the createimagedata() method.
console - Web APIs
the console.groupcollapsed() method is similar but creates the new block collapsed, requiring the use of a disclosure button to open it for
reading.
Document.cookie - Web APIs
(document.cookie.split(';').some(function(item) { return item.indexof('reader=1') >= 0 })) { console.log('the cookie "reader" has "1" for value') } //es2016 if (document.cookie.split(';').some((item) => item.includes('reader=1'))) { console.log('the cookie "reader" has "1" for value') } security it is important to note that the path attribute does not protect against unauthorized
reading of the cookie from a different path.
Locating DOM elements using selectors - Web APIs
you may find examples and details by
reading the documentation for the element.queryselector() and element.queryselectorall() methods, as well as in the article code snippets for queryselector.
Element.innerHTML - Web APIs
reading the html contents of an element
reading innerhtml causes the user agent to serialize the html or xml fragment comprised of the element's descendants.
Element.outerHTML - Web APIs
syntax var content = element.outerhtml; element.outerhtml = htmlstring; value
reading the value of outerhtml returns a domstring containing an html serialization of the element and its descendants.
File.lastModified - Web APIs
example
reading from file input <input type="file" multiple id="fileinput"> const fileinput = document.queryselector('#fileinput'); fileinput.addeventlistener('change', (event) => { // files is a filelist object (similar to nodelist) const files = event.target.files; for (let file of files) { const date = new date(file.lastmodified); console.log(`${file.name} has a last modified date of ${date}`); } }); try the ...
FileReader: error event - Web APIs
no interface progressevent event handler property filereader.onerror examples const fileinput = document.queryselector('input[type="file"]'); const reader = new filereader(); function handleselected(e) { const selectedfile = fileinput.files[0]; if (selectedfile) { reader.addeventlistener('error', () => { console.error(`error occurred
reading file: ${selectedfile.name}`); }); reader.addeventlistener('load', () => { console.error(`file: ${selectedfile.name} read successfully`); }); reader.readasdataurl(selectedfile); } } fileinput.addeventlistener('change', handleselected); specifications specification status file api working draft ...
FileReader.readAsDataURL() - Web APIs
script function previewfile() { const preview = document.queryselector('img'); const file = document.queryselector('input[type=file]').files[0]; const reader = new filereader(); reader.addeventlistener("load", function () { // convert image file to base64 string preview.src = reader.result; }, false); if (file) { reader.readasdataurl(file); } } live result example
reading multiple files html <input id="browse" type="file" onchange="previewfiles()" multiple> <div id="preview"></div> javascript function previewfiles() { var preview = document.queryselector('#preview'); var files = document.queryselector('input[type=file]').files; function readandpreview(file) { // make sure `file.name` matches our extensions criteria if ( /\.(jpe?g|png|gif)$/i...
FileSystemEntry - Web APIs
it includes methods for working with files—including copying, moving, removing, and
reading files—as well as information about a file it points to—including the file name and its path from the root to the entry.
FileSystemEntrySync - Web APIs
it includes methods for working with files—including copying, moving, removing, and
reading files—as well as information about the file it points to—including the file name and its path from the root to the entry.
Using the Gamepad API - Web APIs
the gamepad api introduces new events on the window object for
reading gamepad and controller (hereby referred to as gamepad) state.
HTMLHtmlElement - Web APIs
you can retrieve the htmlhtmlelement object for a given document by
reading the value of the document.documentelement property.
HTMLImageElement.alt - Web APIs
think of it like this: when choosing alt strings for your images, imagine what you would say when
reading the page to someone over the phone without mentioning that there's an image on the page.
HTMLMediaElement - Web APIs
this non-standard, experimental method makes it possible to manually drive
reading and rendering of media at a custom speed, or to move through the media frame-by-frame to perform filtering or other operations.
XMLHttpRequest.response - Web APIs
the value is null if the request is not yet complete or was unsuccessful, with the exception that when
reading text data using a responsetype of "text" or the empty string (""), the response can contain the response so far while the request is still in the loading readystate (3).
Web APIs
eamtrackaudiosourcenode mediastreamtrackaudiosourceoptions mediastreamtrackevent mediatrackconstraints mediatracksettings mediatracksupportedconstraints merchantvalidationevent messagechannel messageevent messageport metadata mimetype mimetypearray mouseevent mousescrollevent mousewheelevent mutationevent mutationobserver mutationobserverinit mutationrecord n ndefmessage ndefreader ndef
readingevent ndefrecord ndefwriter namelist namednodemap navigationpreloadmanager navigator navigatorconcurrenthardware navigatorid navigatorlanguage navigatoronline navigatorplugins navigatorstorage networkinformation node nodefilter nodeiterator nodelist nondocumenttypechildnode notation notification notificationaction notificationevent notifyaudioavailableevent o oes_element_index_uint ...
ARIA: img role - Accessibility
this seems to work ok across some browser/screenreader combinations, but some of them end up
reading the label out twice.
ARIA: button role - Accessibility
in our example the label remains "mute" with a screen reader
reading "mute toggle button pressed" or "mute toggle button not pressed" depending on the value of aria-pressed.
ARIA: checkbox role - Accessibility
this attribute has one of three possible values: true the checkbox is checked false the checkbox is not checked mixed the checkbox is partially checked, or indeterminate tabindex="0" used to make it focusable so the assistive technology user can tab to it and start
reading right away.
Accessibility Information for Web Authors - Accessibility
effective color contrast and effective color brightness difference have a decisive importance for
reading, furthermore for people with partial color deficiency (see the excellent examples in effective color contrast by lighthouse international).
Perceivable - Accessibility
1.3.2 meaningful content sequence (a) a sensible, logical
reading order should be easy to determine for any content, even if it is visually presented in an unusual way.
Understandable - Accessibility
3.1.5
reading level (aaa) if text is provided that requires a higher
reading level that lower secondary education level (typically children around 11-14 years old), provide supplementary explainer material to help people who can't read it, or provide an alternative version that is written at lower secondary level.
::placeholder - CSS: Cascading Style Sheets
most screen
reading technology will use aria-describedby to read the hint after the input's label text is announced, and the person using the screen reader can mute it if they find the extra information unnecessary.
font-stretch - CSS: Cascading Style Sheets
accessibility concerns people with dyslexia and other cognitive conditions may have difficulty
reading fonts that are too condensed, especially if the font has a low contrast color ratio.
font-weight - CSS: Cascading Style Sheets
accessibility concerns people experiencing low vision conditions may have difficulty
reading text set with a font-weight value of 100 (thin/hairline) or 200 (extra light), especially if the font has a low contrast color ratio.
<s> - HTML: Hypertext Markup Language
examples <s>today's special: salmon</s> sold out<br> <span style="text-decoration:line-through;">today's special: salmon</span> sold out accessibility concerns the presence of the s element is not announced by most screen
reading technology in its default configuration.
DNT - HTTP
examples
reading do not track status from javascript the user's dnt preference can also be read from javascript using the navigator.donottrack property: navigator.donottrack; // "0" or "1" specifications specification status comment tracking preference expression (dnt)the definition of 'dnt header field for http requests' in that specification.
HTTP headers - HTTP
cross-origin-resource-policy (corp) prevents other domains from
reading the response of the resources to which this header is applied.
CSS Houdini
start by
reading houdini, an introduction — this provides a brief history of houdini and an overview of its many features.
SyntaxError: JSON.parse: bad parsing - JavaScript
se: unterminated fractional number syntaxerror: json.parse: missing digits after exponent indicator syntaxerror: json.parse: missing digits after exponent sign syntaxerror: json.parse: exponent part is missing a number syntaxerror: json.parse: unexpected end of data syntaxerror: json.parse: unexpected keyword syntaxerror: json.parse: unexpected character syntaxerror: json.parse: end of data while
reading object contents syntaxerror: json.parse: expected property name or '}' syntaxerror: json.parse: end of data when ',' or ']' was expected syntaxerror: json.parse: expected ',' or ']' after array element syntaxerror: json.parse: end of data when property name was expected syntaxerror: json.parse: expected double-quoted property name syntaxerror: json.parse: end of data after property name when ':' ...
Atomics.notify() - JavaScript
examples using notify given a shared int32array: const sab = new sharedarraybuffer(1024); const int32 = new int32array(sab); a
reading thread is sleeping and waiting on location 0 which is expected to be 0.
Atomics.wait() - JavaScript
examples using wait() given a shared int32array: const sab = new sharedarraybuffer(1024); const int32 = new int32array(sab); a
reading thread is sleeping and waiting on location 0 which is expected to be 0.
Atomics - JavaScript
ockfree(2); // true atomics.islockfree(3); // false atomics.islockfree(4); // true atomics.or(ta, 0, 1); atomics.load(ta, 0); // 5 atomics.store(ta, 0, 12); // 12 atomics.sub(ta, 0, 2); atomics.load(ta, 0); // 3 atomics.xor(ta, 0, 1); atomics.load(ta, 0); // 4 waiting and notifiying given a shared int32array: const sab = new sharedarraybuffer(1024); const int32 = new int32array(sab); a
reading thread is sleeping and waiting on location 0 which is expected to be 0.
BigInt64Array - JavaScript
bigint64array.prototype.set() stores multiple values in the typed array,
reading input values from a specified array.
BigUint64Array - JavaScript
biguint64array.prototype.set() stores multiple values in the typed array,
reading input values from a specified array.