Module org.refcodes.serial
Package org.refcodes.serial
Interface PongMagicBytesAccessor.PongMagicBytesMutator
- All Known Subinterfaces:
PongMagicBytesAccessor.PongMagicBytesProperty
- Enclosing interface:
- PongMagicBytesAccessor
public static interface PongMagicBytesAccessor.PongMagicBytesMutator
Provides a mutator for a pong magic bytes property.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setPongMagicBytes
(byte[] aPongMagicBytes) Sets the magic bytes for the pong magic bytes property.default void
setPongMagicBytes
(String aPongMagicBytes) Sets the magic bytes for the pong magic bytes property.default void
setPongMagicBytes
(String aPongMagicBytes, Charset aEncoding) Sets the magic bytes for the pong magic bytes property.
-
Method Details
-
setPongMagicBytes
void setPongMagicBytes(byte[] aPongMagicBytes) Sets the magic bytes for the pong magic bytes property.- Parameters:
aPongMagicBytes
- The magic bytes to be stored by the pong magic bytes property.
-
setPongMagicBytes
Sets the magic bytes for the pong magic bytes property. UsesTransmissionMetrics.DEFAULT_ENCODING
for converting theString
into a byte array.- Parameters:
aPongMagicBytes
- The magic bytes to be stored by the magic bytes property.
-
setPongMagicBytes
Sets the magic bytes for the pong magic bytes property.- Parameters:
aPongMagicBytes
- The magic bytes to be stored by the magic bytes property.aEncoding
- The string's bytes are converted using the givenCharset
.
-