public static interface AdmRuntime.BufferSizer
| Modifier and Type | Method and Description |
|---|---|
long |
ensureCapacity(long addr,
int capacity)
Method invoked by the serializer to ensure there is enough space in the target
buffer to accommodate a field being serialized
|
long ensureCapacity(long addr,
int capacity)
addr - The native address of the target buffercapacity - The required capacity of the bufferThis method is invoked by a serializer each time it serializes a field or part of a field to the target buffer to ensure that the target buffer has the desired capacity to hold the data being added.
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.