- java.lang.Object
-
- com.github.glusk.caesar.AbstractBytes
-
- com.github.glusk.srp6_variables.BytesView
-
- All Implemented Interfaces:
Bytes
public final class BytesView extends AbstractBytes
An SRP-6 Integer Variable Bytes view.
-
-
Constructor Summary
Constructors Constructor Description BytesView(SRP6IntegerVariable variableToViewAsBytes, ByteOrder order)Creates a new SRP-6 Integer Variable Bytes view by wrappingvariableToViewAsBytesand order}.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]asArray()-
Methods inherited from class com.github.glusk.caesar.AbstractBytes
equals, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.glusk.caesar.Bytes
asHexString, reversed
-
-
-
-
Constructor Detail
-
BytesView
public BytesView(SRP6IntegerVariable variableToViewAsBytes, ByteOrder order)
Creates a new SRP-6 Integer Variable Bytes view by wrappingvariableToViewAsBytesand order}.- Parameters:
variableToViewAsBytes- an SRP-6 Integer Variable to view as Bytesorder- the byte order to use when convertingvariableToViewAsBytesto Bytes
-
-