public static final class BytesTransformers.ShuffleTransformer extends Object implements BytesTransformer
BytesTransformer.BitSwitchTransformer, BytesTransformer.BitWiseOperatorTransformer, BytesTransformer.ConcatTransformer, BytesTransformer.CopyTransformer, BytesTransformer.MessageDigestTransformer, BytesTransformer.NegateTransformer, BytesTransformer.ResizeTransformer, BytesTransformer.ReverseTransformer, BytesTransformer.ShiftTransformer| Modifier and Type | Method and Description |
|---|---|
boolean |
supportInPlaceTransformation()
If this transformer supports transformation without creation a new array
|
byte[] |
transform(byte[] currentArray,
boolean inPlace)
Transform given victim in place, overwriting its internal byte array
|
public byte[] transform(byte[] currentArray,
boolean inPlace)
BytesTransformertransform in interface BytesTransformercurrentArray - to preform the transformation oninPlace - perform the operations directly on the victim's byte array to omit copying of the internal arraypublic boolean supportInPlaceTransformation()
BytesTransformersupportInPlaceTransformation in interface BytesTransformerCopyright © 2017–2021. All rights reserved.