You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<divclass="block">Not recommended for use, use <ahref="#asArenaScopedByteBuffer()"><code>asArenaScopedByteBuffer()</code></a> or <ahref="#asClonedByteBuffer()"><code>asClonedByteBuffer()</code></a> instead</div>
135
+
</div>
136
+
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/foreign/MemorySegment.html" title="class or interface in java.lang.foreign" class="external-link">MemorySegment</a></code></div>
<divclass="block">Gets the raw <ahref="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/foreign/MemorySegment.html" title="class or interface in java.lang.foreign" class="external-link"><code>MemorySegment</code></a> (C pointer) for this VipsBlob struct</div>
140
140
</div>
141
-
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <ahref="VBlob.html" title="class in app.photofox.vipsffm">VBlob</a></code></div>
142
-
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><ahref="#newFromBytes(java.lang.foreign.Arena,byte%5B%5D)" class="member-name-link">newFromBytes</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/foreign/Arena.html" title="class or interface in java.lang.foreign" class="external-link">Arena</a> arena,
141
+
<divclass="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <ahref="VBlob.html" title="class in app.photofox.vipsffm">VBlob</a></code></div>
142
+
<divclass="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><ahref="#newFromBytes(java.lang.foreign.Arena,byte%5B%5D)" class="member-name-link">newFromBytes</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/foreign/Arena.html" title="class or interface in java.lang.foreign" class="external-link">Arena</a> arena,
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/foreign/MemorySegment.html" title="class or interface in java.lang.foreign" class="external-link">MemorySegment</a></span> <spanclass="element-name">getUnsafeDataAddress</span>()
208
208
throws <spanclass="exceptions"><ahref="VipsError.html" title="class in app.photofox.vipsffm">VipsError</a></span></div>
209
-
<divclass="block"><p>Not recommended for use, use</p>
210
-
<detailsclass="invalid-tag">
211
-
<summary>invalid reference</summary>
212
-
<pre><code>#asByteBuffer()</code></pre>
213
-
</details>
214
-
instead
209
+
<divclass="block"><p>Not recommended for use, use <ahref="#asArenaScopedByteBuffer()"><code>asArenaScopedByteBuffer()</code></a> or <ahref="#asClonedByteBuffer()"><code>asClonedByteBuffer()</code></a> instead</p>
215
210
<p>Gets the raw <ahref="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/lang/foreign/MemorySegment.html" title="class or interface in java.lang.foreign" class="external-link"><code>MemorySegment</code></a> (C pointer) for the data in this blob</p>
216
211
<p>Sliced to the length of the data, which isn't always null terminated</p>
<divclass="block"><p>ByteBuffer representation of the data in this blob</p>
240
235
<p>Mapped to native memory via DirectByteBuffer, hence does not make a copy, so the data has the
241
236
same data lifetime as <code>arena</code></p>
237
+
<p>Note that because this is backed by native memory, you cannot use the <ahref="https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/nio/ByteBuffer.html#array()" title="class or interface in java.nio" class="external-link"><code>ByteBuffer.array()</code></a>
238
+
method on the resulting buffer. Use <ahref="#asClonedByteBuffer()"><code>asClonedByteBuffer()</code></a> or <ahref="#getBytes()"><code>getBytes()</code></a> if you're
<div class="block">Helper function to get the metadata stored at <code>name</code> on this image, of type <code>blob</code>, or <code>null</code>
5398
5398
if not present</div>
5399
5399
</dd>
5400
+
<dt><a href="app.photofox.vipsffm/app/photofox/vipsffm/VBlob.html#getBytes()" class="member-name-link">getBytes()</a> - Method in class app.photofox.vipsffm.<a href="app.photofox.vipsffm/app/photofox/vipsffm/VBlob.html" title="class in app.photofox.vipsffm">VBlob</a></dt>
5401
+
<dd>
5402
+
<div class="block">byte[] representation of the data in this VipsBlob</div>
5403
+
</dd>
5400
5404
<dt><a href="app.photofox.vipsffm/app/photofox/vipsffm/VImage.html#getDouble(java.lang.String)" class="member-name-link">getDouble(String)</a> - Method in class app.photofox.vipsffm.<a href="app.photofox.vipsffm/app/photofox/vipsffm/VImage.html" title="class in app.photofox.vipsffm">VImage</a></dt>
5401
5405
<dd>
5402
5406
<div class="block">Helper function to get the metadata stored at <code>name</code> on this image, of type <code>double</code>, or <code>null</code>
<dt><a href="app.photofox.vipsffm/app/photofox/vipsffm/VBlob.html#getUnsafeDataAddress()" class="member-name-link">getUnsafeDataAddress()</a> - Method in class app.photofox.vipsffm.<a href="app.photofox.vipsffm/app/photofox/vipsffm/VBlob.html" title="class in app.photofox.vipsffm">VBlob</a></dt>
5703
5707
<dd>
5704
-
<div class="block"><p>Not recommended for use, use</p>
5705
-
<details class="invalid-tag">
5706
-
<summary>invalid reference</summary>
5707
-
<pre><code>#asByteBuffer()</code></pre>
5708
-
</details>
5709
-
instead
5710
-
</div>
5708
+
<div class="block">Not recommended for use, use <a href="app.photofox.vipsffm/app/photofox/vipsffm/VBlob.html#asArenaScopedByteBuffer()"><code>VBlob.asArenaScopedByteBuffer()</code></a> or <a href="app.photofox.vipsffm/app/photofox/vipsffm/VBlob.html#asClonedByteBuffer()"><code>VBlob.asClonedByteBuffer()</code></a> instead</div>
5711
5709
</dd>
5712
5710
<dt><a href="app.photofox.vipsffm/app/photofox/vipsffm/VBlob.html#getUnsafeStructAddress()" class="member-name-link">getUnsafeStructAddress()</a> - Method in class app.photofox.vipsffm.<a href="app.photofox.vipsffm/app/photofox/vipsffm/VBlob.html" title="class in app.photofox.vipsffm">VBlob</a></dt>
0 commit comments