Modifier and Type | Method and Description |
---|---|
MutableBytes |
MutableBytes.fill(byte fillByte)
Fills the internal byte array with provided byte
|
MutableBytes |
Bytes.mutable()
Returns a mutable version of this instance with sharing the same underlying byte-array.
|
MutableBytes |
MutableBytes.overwrite(byte[] newArray)
Uses given array to overwrite internal array
|
MutableBytes |
MutableBytes.overwrite(byte[] newArray,
int offsetInternalArray)
Uses given array to overwrite internal array.
|
MutableBytes |
MutableBytes.secureWipe()
Fills the internal byte array with random data provided by
SecureRandom |
MutableBytes |
MutableBytes.secureWipe(SecureRandom random)
Fills the internal byte array with random data provided by given random instance
|
MutableBytes |
MutableBytes.setByteAt(int index,
byte newByte)
Sets new byte to given index
|
MutableBytes |
MutableBytes.wipe()
Fills the internal byte array with all zeros
|
Copyright © 2017–2018. All rights reserved.