public class MemoryPointer extends Object
Memory. Allows returning slices of memory without using
Memory.region(long, long), which leads to allocations.| Constructor and Description |
|---|
MemoryPointer() |
MemoryPointer(org.apache.datasketches.memory.Memory memory,
long position) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.datasketches.memory.Memory |
memory() |
long |
position() |
void |
set(org.apache.datasketches.memory.Memory memory,
long position) |
public MemoryPointer()
public MemoryPointer(@Nullable org.apache.datasketches.memory.Memory memory, long position)
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.