public interface SchemaReader<T>
| Modifier and Type | Method and Description |
|---|---|
default T |
read(byte[] bytes)
Serialize bytes convert pojo.
|
T |
read(byte[] bytes,
int offset,
int length)
serialize bytes convert pojo.
|
T |
read(InputStream inputStream)
serialize bytes convert pojo.
|
default T read(byte[] bytes)
bytes - the dataT read(byte[] bytes, int offset, int length)
bytes - the dataoffset - the byte[] initial positionlength - the byte[] read lengthT read(InputStream inputStream)
inputStream - the stream of messageCopyright © 2017–2020 Apache Software Foundation. All rights reserved.