Uses of Class
org.refcodes.serial.MagicBytesSectionDecorator
-
Uses of MagicBytesSectionDecorator in org.refcodes.serial
Subclasses of MagicBytesSectionDecorator in org.refcodes.serialModifier and TypeClassDescriptionclassAssertMagicBytesSectionDecorator<DECORATEE extends Section>TheAssertMagicBytesSectionDecoratorextends theMagicBytesSectionDecoratorand enforces the configured magic bytes to match the received magic bytes (as ofAssertMagicBytesSectionDecorator.fromTransmission(Sequence, int, int)andAssertMagicBytesSectionDecorator.receiveFrom(java.io.InputStream, int, java.io.OutputStream)or the like).Methods in org.refcodes.serial that return MagicBytesSectionDecoratorModifier and TypeMethodDescriptionstatic <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>SerialSugar.magicBytesSection(DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSectionwith the given magic bytes being prefixed.static <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>SerialSugar.magicBytesSection(DECORATEE aDecoratee, int aMagicBytesLength) Enriches the providedSectionwith magic bytes of the given length to be prefixed.static <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>SerialSugar.magicBytesSection(DECORATEE aDecoratee, String aMagicBytes) static <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>SerialSugar.magicBytesSection(DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) static <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>SerialSugar.magicBytesSection(String aAlias, DECORATEE aDecoratee, byte... aMagicBytes) Enriches the providedSectionwith the given magic bytes being prefixed.static <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>SerialSugar.magicBytesSection(String aAlias, DECORATEE aDecoratee, int aMagicBytesLength) Enriches the providedSectionwith magic bytes of the given length to be prefixed.static <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>SerialSugar.magicBytesSection(String aAlias, DECORATEE aDecoratee, String aMagicBytes) static <DECORATEE extends Section>
MagicBytesSectionDecorator<DECORATEE>SerialSugar.magicBytesSection(String aAlias, DECORATEE aDecoratee, String aMagicBytes, Charset aCharset) MagicBytesSectionDecorator.withPayload(byte[] aValue)