Returns a new empty dataref (or a reference to a shared empty dataref). New or shared, the caller must see that #close() is eventually called.
()
| 104 | * New or shared, the caller must see that {@link #close()} is eventually called. |
| 105 | */ |
| 106 | public static Data makeEmpty() { |
| 107 | Stats.onNativeCall(); |
| 108 | return new Data(_nMakeEmpty()); |
| 109 | } |
| 110 | |
| 111 | @ApiStatus.Internal |
| 112 | public Data(long ptr) { |