public interface MemoryStructureWrapperService
ByteBuffer
s into
MemoryStructure
instances in an implementation-specific way.Modifier and Type | Method and Description |
---|---|
static MemoryStructureWrapperService |
get() |
<T extends MemoryStructure> |
wrapStructure(Class<T> structureClass,
ByteBuffer data)
Wraps the provided
ByteBuffer into an instance of the provided structure class, without appending
it to the destination rich-text entity. |
static MemoryStructureWrapperService get()
<T extends MemoryStructure> T wrapStructure(Class<T> structureClass, ByteBuffer data)
ByteBuffer
into an instance of the provided structure class, without appending
it to the destination rich-text entity. This is useful in specific situations where variable data consists
of structured values.T
- the type of structure contained in the datastructureClass
- a Class
representing <T>
data
- the data to wrapCopyright © 2019–2021 HCL. All rights reserved.