Comparable<ReadField>public class ByteReadField extends ReadField
| Constructor | Description |
|---|---|
ByteReadField(SerializableField field) |
Construct a new instance with the default value.
|
ByteReadField(SerializableField field,
byte value) |
Construct a new instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
byte |
getByte() |
Get the byte value of this field.
|
Kind |
getKind() |
Get the kind of field represented by this object.
|
public ByteReadField(SerializableField field, byte value)
field - the serializable fieldvalue - the valuepublic ByteReadField(SerializableField field)
field - the serializable fieldpublic Kind getKind()
public byte getByte()
throws IOException
getByte in class ReadFieldIOException - if the value cannot be readCopyright © 2020 JBoss by Red Hat. All rights reserved.