public static class BytesTransformer.BitSwitchTransformer 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)
BytesTransformer
transform
in interface BytesTransformer
currentArray
- to preform the transformation oninPlace
- perform the operations directly on the victim's byte array to omit copying of the internal arraypublic boolean supportInPlaceTransformation()
BytesTransformer
supportInPlaceTransformation
in interface BytesTransformer
Copyright © 2017–2018. All rights reserved.