Modifier and Type | Class | Description |
---|---|---|
class |
SectionComposite<ALLOC extends AllocSectionDecoratorSegment<CHILD>,CHILD extends Section> |
A
SectionComposite is a Section consisting of Section
elements of a variable length each: Each Section element in the
composite need not be of the same size. |
Modifier and Type | Field | Description |
---|---|---|
protected AllocSectionDecoratorSegment<SequenceSection> |
PacketInputStream._allocSegment |
|
protected AllocSectionDecoratorSegment<SequenceSection> |
PacketOutputStream._allocSegment |
Modifier and Type | Method | Description |
---|---|---|
static <DECORATEE extends Section> |
SerialSugar.allocSegment(DECORATEE aDecoratee) |
Constructs the
AllocSectionDecoratorSegment with the given
decoratee and a width of TransmissionMetrics.DEFAULT_LENGTH_WIDTH
bytes used to specify the decoratee's length a
TransmissionMetrics.DEFAULT_ENDIANESS endian representation of
the decoratee's length. |
static <DECORATEE extends Section> |
SerialSugar.allocSegment(DECORATEE aDecoratee,
int aLengthWidth) |
Constructs the
AllocSectionDecoratorSegment with the given
decoratee and with the given number of bytes used to specify the
decoratee's length and a TransmissionMetrics.DEFAULT_ENDIANESS
endian representation of the decoratee's length. |
static <DECORATEE extends Section> |
SerialSugar.allocSegment(DECORATEE aDecoratee,
int aLengthWidth,
org.refcodes.numerical.Endianess aEndianess) |
Constructs the
AllocSectionDecoratorSegment with the given
decoratee and with the given number of bytes used to specify the
decoratee's length and the provided Endianess representation of
the decoratee's length. |
static <DECORATEE extends Section> |
SerialSugar.allocSegment(DECORATEE aDecoratee,
org.refcodes.numerical.Endianess aEndianess) |
Constructs the
AllocSectionDecoratorSegment with the given
decoratee and a width of TransmissionMetrics.DEFAULT_LENGTH_WIDTH
bytes used to specify the decoratee's length and the provided
Endianess representation of the decoratee's length. |
static <DECORATEE extends Section> |
SerialSugar.allocSegment(DECORATEE aDecoratee,
TransmissionMetrics aTransmissionMetrics) |
Constructs an according
AllocSectionDecoratorSegment instance. |
Copyright © 2021. All rights reserved.