1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../../css/manpage.css" type="text/css" />
7    <style type="text/css"><!--
8      span.static_style
9      {
10        font-size			: 8pt;
11        color				: white;
12        font-weight			: bold;
13        background			: #44f;
14        border-left			: solid 1px #aaf;
15        border-top			: solid 1px #aaf;
16        border-right		: solid 1px #00c;
17        border-bottom		: solid 1px #00c;
18        padding-left		: 2px;
19        padding-right		: 2px;
20      }
21      span.virtual_style
22      {
23        font-size			 : 8pt;
24        color				 : white;
25        font-weight			: bold;
26        background			: #0a0;
27        border-left			: solid 1px #0f0;
28        border-top			: solid 1px #0f0;
29        border-right		: solid 1px #060;
30        border-bottom		: solid 1px #060;
31        padding-left		: 2px;
32        padding-right		: 2px;
33      }
34      span.protected_style
35      {
36        font-size			 : 8pt;
37        color				 : white;
38        font-weight			: bold;
39        background			: #444;
40        border-left			: solid 1px #ccc;
41        border-top			: solid 1px #ccc;
42        border-right		: solid 1px #222;
43        border-bottom		: solid 1px #222;
44        padding-left		: 2px;
45        padding-right		: 2px;
46      }
47        --></style>
48    <title>nw::gfx::ShaderBinaryInfo::SafeBuffer</title>
49  </head>
50  <body>
51    <h1><CODE><a href="../../../../nw/Overview.html">nw</a>::<a href="../../../../nw/gfx/Overview.html">gfx</a>::<a href="../../../../nw/gfx/ShaderBinaryInfo/Overview.html">ShaderBinaryInfo</a>::SafeBuffer</CODE> Class</h1>
52    <h2>Syntax</h2>
53    <div class="section">
54      <pre class="definition">class SafeBuffer</pre>
55    </div>
56    <h2>Description</h2>
57    <div class="section">
58      <p>The class for safely writing to a buffer.</p>
59    </div>
60    <a name="typedef" id="typedef">
61      <h2><CODE>typedef</CODE> Definitions</h2>
62      <div class="section">
63        <table class="members">
64          <tr>
65            <td width="100" />
66            <th>
67              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/Self.html">Self</a>
68            </th>
69            <td>
70        </td>
71          </tr> </table>
72      </div>
73    </a> <a name="function" id="function">
74      <h2>Member Functions</h2>
75      <div class="section">
76        <table class="members">
77          <tr>
78            <td width="100">  </td>
79            <th>
80              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/SafeBuffer.html">SafeBuffer</a>
81            </th>
82            <td>Constructor.</td>
83          </tr>
84          <tr>
85            <td width="100">  </td>
86            <th>
87              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/StartAddress.html">StartAddress</a>
88            </th>
89            <td>
90        </td>
91          </tr>
92          <tr>
93            <td width="100">  </td>
94            <th>
95              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/EndAddress.html">EndAddress</a>
96            </th>
97            <td>
98        </td>
99          </tr>
100          <tr>
101            <td width="100">  </td>
102            <th>
103              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/CurrentAddress.html">CurrentAddress</a>
104            </th>
105            <td>
106        </td>
107          </tr>
108          <tr>
109            <td width="100">  </td>
110            <th>
111              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/BufferSize.html"><CODE>BufferSize</CODE></a>
112            </th>
113            <td>
114        </td>
115          </tr>
116          <tr>
117            <td width="100">  </td>
118            <th>
119              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/UsedSize.html">UsedSize</a>
120            </th>
121            <td>
122        </td>
123          </tr>
124          <tr>
125            <td width="100">  </td>
126            <th>
127              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/IsFinished.html">IsFinished</a>
128            </th>
129            <td>
130        </td>
131          </tr>
132          <tr>
133            <td width="100">  </td>
134            <th>
135              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/operator const u32 -2a.html">operator const u32 *</a>
136            </th>
137            <td>
138        </td>
139          </tr>
140          <tr>
141            <td width="100">  </td>
142            <th>
143              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/operator++.html">operator ++</a>
144            </th>
145            <td>
146        </td>
147          </tr>
148          <tr>
149            <td width="100">  </td>
150            <th>
151              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/operator+=.html">operator +=</a>
152            </th>
153            <td>
154        </td>
155          </tr>
156          <tr>
157            <td width="100">  </td>
158            <th>
159              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/VerifyWriteSize.html">VerifyWriteSize</a>
160            </th>
161            <td>Verifies that data of the specified size can be written. Shutdown processing is executed and IsFinished() returns true if the remaining size is not enough.</td>
162          </tr>
163          <tr>
164            <td width="100">  </td>
165            <th>
166              <a href="../../../../nw/gfx/ShaderBinaryInfo/SafeBuffer/Write.html"><CODE>Write</CODE></a>
167            </th>
168            <td>Writes data. Returns a negative error code and exits without writing remaining data, if available memory is insufficient. IsFinished() returns true if the write fails due to a capacity problem.</td>
169          </tr> </table>
170      </div>
171    </a>
172  <hr><p>CONFIDENTIAL</p></body>
173</html>
174