9 <meta name=
"viewport" content=
"width=1200, initial-scale=0.5">
11 <meta http-equiv=
"Content-Location" content=
"/v0.0/ion/Writer/Options/__construct">
12 <link rel=
"stylesheet" href=
"index.css">
14 <link href=
"https://fonts.googleapis.com/css?family=Inconsolata&subset=latin-ext" rel=
"stylesheet">
15 <script src=
"//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
16 <link rel=
"shortcut icon" href=
"/v0.0/favicon.ico">
24 <a href=
"./ion/Writer/Options/__construct">Edit
</a>
29 <li>↰ <a href=
"./">Home
</a>
34 ↑ <a href=
"./ion">
40 ↑ <a href=
"./ion/Writer">
46 ↑ <a href=
"./ion/Writer/Options">
52 ↻ <strong><a href=
"./ion/Writer/Options/__construct">Options::__construct
</a></strong>
71 <h1>void ion\Writer\Options::__construct([?ion\Catalog $catalog = NULL, [?ion\Decimal\Context $decimalContext = NULL, [bool $outputBinary = false, [bool $compactFloats = false, [bool $escapeNonAscii = false, [bool $prettyPrint = false, [bool $indentTabs = true, [int $indentSize =
2, [bool $flushEveryValue = false, [int $maxContainerDepth =
10, [int $maxAnnotations =
10, [int $tempBufferSize =
16384]]]]]]]]]]]])
</h1>
72 <p>Create custom ION writer options.
</p>
73 <h2>Params:
<a id=
"Params:" href=
"#Params:" class=
"permalink" aria-hidden=
"true" title=
"">#
</a></h2>
75 <li>Optional ?ion\Catalog $catalog = NULL
<br />
76 ION catalog to use for symbol lookup.
</li>
77 <li>Optional ?ion\Decimal\Context $decimalContext = NULL
<br />
78 Decimal context to use.
</li>
79 <li>Optional bool $outputBinary = false
<br />
80 Whether to output binary ION.
</li>
81 <li>Optional bool $compactFloats = false
<br />
82 Whether to write doubles which fit in
32 bits as floats.
</li>
83 <li>Optional bool $escapeNonAscii = false
<br />
84 Whether to slash-escape all non ASCII bytes.
</li>
85 <li>Optional bool $prettyPrint = false
<br />
86 Whether to produce pretty-printed output.
</li>
87 <li>Optional bool $indentTabs = true
<br />
88 Whether to indent with tabs, when pretty-printing.
</li>
89 <li>Optional int $indentSize =
2<br />
90 The number of spaces to use for indentation instead of tabs, when pretty-printing.
</li>
91 <li>Optional bool $flushEveryValue = false
<br />
92 Whether to immediately flush every value written.
</li>
93 <li>Optional int $maxContainerDepth =
10<br />
94 Maximum depth of nested containers.
</li>
95 <li>Optional int $maxAnnotations =
10<br />
96 The maximum number of annotations allowed on a single value.
</li>
97 <li>Optional int $tempBufferSize =
16384<br />
98 Temporary buffer size.
</li>
104 <div id=
"disqus_thread"><button id=
"disqus_activator">Show
<span> </span> Comment(s)
</button></div>
106 var disqus_shortname = 'mdref';
107 var disqus_identifier = 'ion/Writer/Options/__construct';
113 <li><a href=
"https://github.com/m6w6/mdref">mdref-v2.0
115 <li><a href=
"LICENSE">© 2013-
2022 All rights reserved.
</a></li>
122 <script src=
"index.js"></script>