T
- the signature type of this recordpublic interface RichTextRecord<T extends CDSignature> extends ResizableMemoryStructure
Modifier and Type | Method and Description |
---|---|
default int |
getCDRecordLength()
Returns the total length of the CD record including the signature bytes
containing the type and length
|
ByteBuffer |
getData()
Returns the raw CD record data including the header signature (containing the type and length of the record)
|
default ByteBuffer |
getDataWithoutHeader()
Returns the raw CD record data without the header signature (containing the type and length of the record)
|
T |
getHeader() |
default int |
getPayloadLength()
Returns the size of the CD record payload (the data without the record header bytes)
|
default int |
getRecordHeaderLength()
Returns the length of the signature bytes containing the record
type and total lengths at the beginning of
getData() |
default Set<RecordType> |
getType()
Returns the type of the record, if known.
|
default short |
getTypeValue()
Returns a numeric type constant for the record
|
getVariableData, resize, resizeVariableData
T getHeader()
default short getTypeValue()
default Set<RecordType> getType()
RecordType
values that have the value getTypeValue()
(there may be duplicates like PABHIDE/VMTEXTBOX or ACTION/VMPOLYRGN)default ByteBuffer getDataWithoutHeader()
ByteBuffer getData()
getData
in interface MemoryStructure
default int getPayloadLength()
default int getCDRecordLength()
default int getRecordHeaderLength()
getData()
Copyright © 2019–2021 HCL. All rights reserved.