public final class ByteArray extends Object
| Constructor and Description |
|---|
ByteArray(byte[] bytes)
Ctor for a primitive array.
|
ByteArray(Byte[] bytes)
Ctor.
|
ByteArray(List<Byte> bytes)
Ctor for a list of byes.
|
| Modifier and Type | Method and Description |
|---|---|
Byte[] |
boxedBytes()
Return primitive byte array.
|
byte[] |
primitiveBytes()
Return primitive byte array.
|
public ByteArray(List<Byte> bytes)
bytes - The list of bytespublic ByteArray(byte[] bytes)
bytes - The primitive bytespublic ByteArray(Byte[] bytes)
bytes - The bytes.public byte[] primitiveBytes()
public Byte[] boxedBytes()
Copyright © 2019–2020 jcabi.com. All rights reserved.