Uses of Class
org.refcodes.serial.StringSegment
-
Uses of StringSegment in org.refcodes.serial
Methods in org.refcodes.serial that return StringSegmentModifier and TypeMethodDescriptionStringSegment.Builder.build()Builds the accordingly configuredStringSegmentinstance.static StringSegmentSerialSugar.stringSegment()Constructs aStringSegment.static StringSegmentSerialSugar.stringSegment(int aLengthWidth) Constructs an empty allocation value with the given number of bytes used to specify the decoratee's length and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the decoratee's length.static StringSegmentSerialSugar.stringSegment(int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs an empty allocation value with the given number of bytes used to specify the decoratee's length and the providedEndianessrepresentation of the decoratee's length.static StringSegmentSerialSugar.stringSegment(String aValue) Constructs aStringSegmentwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.static StringSegmentSerialSugar.stringSegment(String aValue, int aLengthWidth) Constructs aStringSegmentwith the givenStringpayload* being encoded with theTransmissionMetrics.DEFAULT_ENCODING.static StringSegmentSerialSugar.stringSegment(String aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aStringSegmentwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.static StringSegmentSerialSugar.stringSegment(String aAlias, String aValue) Constructs aStringSegmentwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.static StringSegmentSerialSugar.stringSegment(String aAlias, String aValue, int aLengthWidth) Constructs aStringSegmentwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.static StringSegmentSerialSugar.stringSegment(String aAlias, String aValue, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aStringSegmentwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.static StringSegmentSerialSugar.stringSegment(String aAlias, String aValue, Charset aEncoding) static StringSegmentSerialSugar.stringSegment(String aAlias, String aValue, Charset aEncoding, int aLengthWidth) static StringSegmentSerialSugar.stringSegment(String aAlias, String aValue, Charset aEncoding, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) static StringSegmentSerialSugar.stringSegment(String aAlias, String aValue, Charset aEncoding, org.refcodes.numerical.Endianess aEndianess) static StringSegmentSerialSugar.stringSegment(String aAlias, String aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aStringSegmentwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.static StringSegmentSerialSugar.stringSegment(String aAlias, String aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static StringSegmentSerialSugar.stringSegment(String aValue, Charset aEncoding) static StringSegmentSerialSugar.stringSegment(String aValue, Charset aEncoding, int aLengthWidth) static StringSegmentSerialSugar.stringSegment(String aValue, Charset aEncoding, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) static StringSegmentSerialSugar.stringSegment(String aValue, Charset aEncoding, org.refcodes.numerical.Endianess aEndianess) static StringSegmentSerialSugar.stringSegment(String aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aStringSegmentwith the givenStringpayload being encoded with theTransmissionMetrics.DEFAULT_ENCODING.static StringSegmentSerialSugar.stringSegment(String aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static StringSegmentSerialSugar.stringSegment(Charset aEncoding) Constructs aStringSegmentwith a payload expected to be encoded with the givenCharset.static StringSegmentSerialSugar.stringSegment(Charset aEncoding, int aLengthWidth) Constructs aStringSegmentwith a payload expected to be encoded with the givenCharset.static StringSegmentSerialSugar.stringSegment(Charset aEncoding, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs aStringSegmentwith a payload expected to be encoded with the givenCharset.static StringSegmentSerialSugar.stringSegment(Charset aEncoding, org.refcodes.numerical.Endianess aEndianess) Constructs aStringSegmentwith a payload expected to be encoded with the givenCharset.static StringSegmentSerialSugar.stringSegment(org.refcodes.numerical.Endianess aEndianess) Constructs an empty allocation value with a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the decoratee's length and the providedEndianessrepresentation of the decoratee's length.static StringSegmentSerialSugar.stringSegment(TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.StringSegment.withPayload(String aValue)