Uses of Class
org.refcodes.serial.MagicBytesSegment
-
Uses of MagicBytesSegment in org.refcodes.serial
Subclasses of MagicBytesSegment in org.refcodes.serialModifier and TypeClassDescriptionclassTheAssertMagicBytesSegmentextends theMagicBytesSegmentand enforces the configured magic bytes to match the received magic bytes (as ofSegment.fromTransmission(Sequence)andSegment.SegmentMixin.receiveFrom(java.io.InputStream, java.io.OutputStream)or the like).Fields in org.refcodes.serial declared as MagicBytesSegmentModifier and TypeFieldDescriptionprotected MagicBytesSegmentAbstractStopAndWaitTransmissionDecorator._acknowledgeMagicBytesSegmentprotected MagicBytesSegmentAbstractReadyToSendTransmissionDecorator._clearToSendMagicBytesSegmentprotected MagicBytesSegmentAbstractReadyToReceiveTransmissionDecorator._readyToReceiveMagicByteSegmentprotected MagicBytesSegmentAbstractReadyToSendTransmissionDecorator._readyToSendMagicBytesSegmentMethods in org.refcodes.serial that return MagicBytesSegmentModifier and TypeMethodDescriptionstatic MagicBytesSegmentSerialSugar.magicBytesSegment(byte... aMagicBytes) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes.static MagicBytesSegmentSerialSugar.magicBytesSegment(byte[] aMagicBytes, TransmissionMetrics aTransmissionMetrics) Constructs an according instance for magic bytes of the given length.static MagicBytesSegmentSerialSugar.magicBytesSegment(int aMagicBytesLength) Constructs anAbstractMagicBytesTransmissionwith magic bytes of the given length.static MagicBytesSegmentSerialSugar.magicBytesSegment(String aMagicBytes) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString).static MagicBytesSegmentSerialSugar.magicBytesSegment(String aAlias, byte... aMagicBytes) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes.static MagicBytesSegmentSerialSugar.magicBytesSegment(String aAlias, byte[] aMagicBytes, TransmissionMetrics aTransmissionMetrics) Constructs an according instance for magic bytes of the given length.static MagicBytesSegmentSerialSugar.magicBytesSegment(String aAlias, int aMagicBytesLength) Constructs anAbstractMagicBytesTransmissionwith magic bytes of the given length.static MagicBytesSegmentSerialSugar.magicBytesSegment(String aAlias, String aMagicBytes) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString).static MagicBytesSegmentSerialSugar.magicBytesSegment(String aAlias, String aMagicBytes, Charset aCharset) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString).static MagicBytesSegmentSerialSugar.magicBytesSegment(String aAlias, String aMagicBytes, TransmissionMetrics aTransmissionMetrics) Constructs an according instance for magic bytes of the given length.static MagicBytesSegmentSerialSugar.magicBytesSegment(String aMagicBytes, Charset aCharset) Constructs anAbstractMagicBytesTransmissionwith the according magic bytes (retrieved from the givenString).static MagicBytesSegmentSerialSugar.magicBytesSegment(TransmissionMetrics aTransmissionMetrics) Constructs an according instance for magic bytes of the given length.static MagicBytesSegmentSerialSugar.magicBytesSegment(TransmissionMetrics aTransmissionMetrics, String aMagicBytes) Constructs an according instance for magic bytes of the given length.MagicBytesSegment.withPayload(byte[] aValue)