public interface UBStreamable
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
int |
fromStreamUB(java.io.InputStream stream)
Reads value in UB Encoding from standard byte stream.
|
int |
getSizeUB()
Returns size of data which would be saved in byte stream.
|
int |
toStreamUB(java.io.OutputStream stream)
Writes current value in UB Encoding to standard byte stream.
|
int toStreamUB(java.io.OutputStream stream)
throws java.io.IOException
stream - Stream to write tojava.io.IOException - if stream throws itint fromStreamUB(java.io.InputStream stream)
throws java.io.IOException
stream - Stream to read fromjava.io.IOException - if stream throws itint getSizeUB()