@FunctionalInterface public interface SchemaWriter<T>
Modifier and Type | Method and Description |
---|---|
byte[] |
write(T message)
Serialize the message into bytes.
|
byte[] write(T message)
message
- the message for encodeCopyright © 2017–2020 Apache Software Foundation. All rights reserved.