-
- All Known Subinterfaces:
MagicBytesAccessor.MagicBytesProperty
- Enclosing interface:
- MagicBytesAccessor
public static interface MagicBytesAccessor.MagicBytesMutator
Provides a mutator for a magic bytes property.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
setMagicBytes(byte[] aMagicBytes)
Sets the magic bytes for the magic bytes property.default void
setMagicBytes(String aMagicBytes)
Sets the magic bytes for the magic bytes property.default void
setMagicBytes(String aMagicBytes, Charset aEncoding)
Sets the magic bytes for the magic bytes property.
-
-
-
Method Detail
-
setMagicBytes
void setMagicBytes(byte[] aMagicBytes)
Sets the magic bytes for the magic bytes property.- Parameters:
aMagicBytes
- The magic bytes to be stored by the magic bytes property.
-
setMagicBytes
default void setMagicBytes(String aMagicBytes)
Sets the magic bytes for the magic bytes property. If not stated otherwise, theString
is converted using the platform encoding into an array of bytes.- Parameters:
aMagicBytes
- The magic bytes to be stored by the magic bytes property.
-
-