Uses of Class
org.refcodes.serial.LengthSegmentDecoratorSegment
-
Uses of LengthSegmentDecoratorSegment in org.refcodes.serial
Methods in org.refcodes.serial that return LengthSegmentDecoratorSegmentModifier and TypeMethodDescriptionstatic <DECORATEE extends Segment>
LengthSegmentDecoratorSegment<DECORATEE>SerialSugar.lengthSegment(DECORATEE aSegment) Constructs aLengthSegmentDecoratorSegmentwith the given decoratee and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the decoratee's length aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the decoratee's length.static <DECORATEE extends Segment>
LengthSegmentDecoratorSegment<DECORATEE>SerialSugar.lengthSegment(DECORATEE aSegment, int aLengthWidth) Constructs aLengthSegmentDecoratorSegmentwith the given decoratee and with the given number of bytes used to specify the decoratee's length and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the decoratee's length.static <DECORATEE extends Segment>
LengthSegmentDecoratorSegment<DECORATEE>SerialSugar.lengthSegment(DECORATEE aSegment, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aLengthSegmentDecoratorSegmentwith the given decoratee and with the given number of bytes used to specify the decoratee's length and the providedEndianessrepresentation of the decoratee's length.static <DECORATEE extends Segment>
LengthSegmentDecoratorSegment<DECORATEE>SerialSugar.lengthSegment(DECORATEE aSegment, org.refcodes.numerical.Endianess aEndianess) Constructs aLengthSegmentDecoratorSegmentwith the given decoratee and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the decoratee's length and the providedEndianessrepresentation of the decoratee's length.static <DECORATEE extends Segment>
LengthSegmentDecoratorSegment<DECORATEE>SerialSugar.lengthSegment(DECORATEE aSegment, TransmissionMetrics aTransmissionMetrics) Constructs aLengthSegmentDecoratorSegmentwith the given decoratee and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the decoratee's length aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the decoratee's length.