public class ByteReadField extends ReadField
Constructor and 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 and 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 ReadField
IOException
- if the value cannot be readCopyright © 2018 JBoss by Red Hat. All rights reserved.