Uses of Class
org.refcodes.serial.ShortSegment
-
Uses of ShortSegment in org.refcodes.serial
Modifier and TypeMethodDescriptionstatic ShortSegment
SerialSugar.shortSegment()
Constructs an emptyShortSegment
with aTransmissionMetrics.DEFAULT_ENDIANESS
endian representation of theShortSegment
's value.static ShortSegment
SerialSugar.shortSegment
(Short aValue) Constructs aShortSegment
with the given short payload and aTransmissionMetrics.DEFAULT_ENDIANESS
endian representation of theShortSegment
's value.static ShortSegment
SerialSugar.shortSegment
(Short aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aShortSegment
with the given short payload and the givenEndianess
for the representation of theSegment
's value.static ShortSegment
SerialSugar.shortSegment
(Short aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static ShortSegment
SerialSugar.shortSegment
(String aAlias) Constructs an emptyShortSegment
with aTransmissionMetrics.DEFAULT_ENDIANESS
endian representation of theShortSegment
's value.static ShortSegment
SerialSugar.shortSegment
(String aAlias, Short aValue) Constructs aShortSegment
with the given short payload and aTransmissionMetrics.DEFAULT_ENDIANESS
endian representation of theShortSegment
's value.static ShortSegment
SerialSugar.shortSegment
(String aAlias, Short aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aShortSegment
with the given short payload and the givenEndianess
for the representation of theSegment
's value.static ShortSegment
SerialSugar.shortSegment
(String aAlias, Short aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static ShortSegment
SerialSugar.shortSegment
(String aAlias, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyShortSegment
with the givenEndianess
endian representation of theShortSegment
's value.static ShortSegment
SerialSugar.shortSegment
(String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static ShortSegment
SerialSugar.shortSegment
(org.refcodes.numerical.Endianess aEndianess) Constructs an emptyShortSegment
with the givenEndianess
endian representation of theShortSegment
's value.static ShortSegment
SerialSugar.shortSegment
(TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.ShortSegment.withPayload
(Short aValue)