public abstract class BaseFixedSizeByteArray extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
BaseFixedSizeByteArray.Fixed12ByteArray
The type Fixed 12 byte array.
|
static class |
BaseFixedSizeByteArray.Fixed20ByteArray
The type Fixed 20 byte array.
|
static class |
BaseFixedSizeByteArray.Fixed32ByteArray
The type Fixed 32 byte array.
|
static class |
BaseFixedSizeByteArray.Fixed4ByteArray
The type Fixed 4 byte array.
|
static class |
BaseFixedSizeByteArray.Fixed64ByteArray
The type Fixed 64 byte array.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected byte[] |
data
The Data.
|
| 构造器和说明 |
|---|
BaseFixedSizeByteArray() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
checkValid(byte[] bytes)
Check valid.
|
boolean |
equals(Object o) |
protected void |
fillInData(byte[] bytes)
Fill in data.
|
protected abstract int |
getBitSize()
Gets bit size.
|
byte[] |
getData()
Get data byte [ ].
|
int |
hashCode() |
String |
toString() |
protected abstract int getBitSize()
protected void checkValid(byte[] bytes)
bytes - the bytesprotected void fillInData(byte[] bytes)
bytes - the bytespublic byte[] getData()
Copyright © 2022. All rights reserved.