michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: * You can obtaone at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: /** michael@0: * Options for nsINativeOSFileInternals::Read michael@0: */ michael@0: dictionary NativeOSFileReadOptions michael@0: { michael@0: /** michael@0: * If specified, convert the raw bytes to a String michael@0: * with the specified encoding. Otherwise, return michael@0: * the raw bytes as a TypedArray. michael@0: */ michael@0: DOMString? encoding; michael@0: michael@0: /** michael@0: * If specified, limit the number of bytes to read. michael@0: */ michael@0: unsigned long long? bytes; michael@0: };