添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
豁达的板栗  ·  Passing all values of ...·  1 月前    · 
低调的核桃  ·  Offsets array in a ...·  1 月前    · 
鼻子大的人字拖  ·  How to Prevent Out of ...·  1 月前    · 
安静的手套  ·  Postman flow - ...·  1 月前    · 
闷骚的树叶  ·  How Fast is .NET ...·  3 周前    · 
沉稳的手链  ·  AttributeError: ...·  10 月前    · 
会搭讪的骆驼  ·  [新包] 根据 appends ...·  1 年前    · 
神勇威武的滑板  ·  GitHub - ...·  1 年前    · 

get vsimem file byte array while using java binding #11192

Closed
@sendreams

Description

Feature description

i have saved a dataset to png file.

file = "/vsimem/output.png";
out_drv.CreateCopy(file, dstile, 0, new String[0]);

then i want to get the file's byte array and save the bytes to database.

In C++ gdal,VSIGetMemFileBuffer can convert /vsimem/** file to byte[], but I can not find corresponding method in java gdal. What can I do to use it in java?

Additional context

using gdal 3.6.3