Uses of Class
org.refcodes.serial.AllocSegmentHead
-
Uses of AllocSegmentHead in org.refcodes.serial
Methods in org.refcodes.serial that return AllocSegmentHeadModifier and TypeMethodDescriptionstatic AllocSegmentHeadSerialSugar.allocSegmentHead()Constructs an empty head with a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the body's length and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the body's length.static AllocSegmentHeadSerialSugar.allocSegmentHead(int aLengthWidth) Constructs an empty head with the given number of bytes used to specify the body's length and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the body's length.static AllocSegmentHeadSerialSugar.allocSegmentHead(int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs an empty head with a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the body's length and the providedEndianessrepresentation of the body's length.static AllocSegmentHeadSerialSugar.allocSegmentHead(org.refcodes.numerical.Endianess aEndianess) Constructs an empty head with a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the body's length and the providedEndianessrepresentation of the body's length.static AllocSegmentHeadSerialSugar.allocSegmentHead(AllocSegmentBody<?> aBody) Constructs the head with the given body and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the body's length aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the body's length.static AllocSegmentHeadSerialSugar.allocSegmentHead(AllocSegmentBody<?> aBody, int aLengthWidth) Constructs the head with the given body and with the given number of bytes used to specify the body's length and aTransmissionMetrics.DEFAULT_ENDIANESSendian representation of the body's length.static AllocSegmentHeadSerialSugar.allocSegmentHead(AllocSegmentBody<?> aBody, int aLengthWidth, org.refcodes.numerical.Endianess aEndianess) Constructs the head with the given body and with the given number of bytes used to specify the body's length and the providedEndianessrepresentation of the body's length.static AllocSegmentHeadSerialSugar.allocSegmentHead(AllocSegmentBody<?> aBody, org.refcodes.numerical.Endianess aEndianess) Constructs the head with the given body and a width ofTransmissionMetrics.DEFAULT_LENGTH_WIDTHbytes used to specify the body's length and the providedEndianessrepresentation of the body's length.static AllocSegmentHeadSerialSugar.allocSegmentHead(AllocSegmentBody<?> aBody, TransmissionMetrics aTransmissionMetrics) Constructs the head with the given body.