Uses of Class
org.refcodes.serial.AllocSegmentBody
-
Uses of AllocSegmentBody in org.refcodes.serial
Methods in org.refcodes.serial that return AllocSegmentBodyModifier and TypeMethodDescriptionstatic <DECORATEE extends Section>
AllocSegmentBody<DECORATEE>SerialSugar.allocSegmentBody(DECORATEE aDecoratee) Constructs the decorator with 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.AllocSegmentHead.getBody()Methods in org.refcodes.serial with parameters of type AllocSegmentBodyModifier and TypeMethodDescriptionstatic 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.voidAllocSegmentHead.setBody(AllocSegmentBody<?> aBody) Constructors in org.refcodes.serial with parameters of type AllocSegmentBodyModifierConstructorDescriptionAllocSegmentHead(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.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.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.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.AllocSegmentHead(AllocSegmentBody<?> aBody, TransmissionMetrics aTransmissionMetrics) Constructs the head with the given body.