public static final class BytesTransformer.ShiftTransformer extends Object implements BytesTransformer
Bytes instancesBytesTransformer.BitWiseOperatorTransformer, BytesTransformer.ConcatTransformer, BytesTransformer.NegateTransformer, BytesTransformer.ReverseTransformer, BytesTransformer.ShiftTransformer, BytesTransformer.ShuffleTransformer, BytesTransformer.SortTransformer| Constructor and Description |
|---|
ShiftTransformer(int shiftCount,
at.favre.lib.bytes.BytesTransformer.ShiftTransformer.Type type) |
| Modifier and Type | Method and Description |
|---|---|
Bytes |
transform(Bytes victim,
boolean inPlace)
Transform given victim in place, overwriting its internal byte array
|
public ShiftTransformer(int shiftCount,
at.favre.lib.bytes.BytesTransformer.ShiftTransformer.Type type)
public Bytes transform(Bytes victim, boolean inPlace)
BytesTransformertransform in interface BytesTransformervictim - to preform the transformation oninPlace - perform the operations directly on the victim's byte array to omit copying of the internal arrayCopyright © 2017. All rights reserved.