接口 SchemaWriter<T>

函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@Public @Stable @FunctionalInterface public interface SchemaWriter<T>
Serialize messages into bytes.
  • 方法概要

    修饰符和类型
    方法
    说明
    byte[]
    write(T message)
    Serialize the message into bytes.
  • 方法详细资料

    • write

      byte[] write(T message)
      Serialize the message into bytes.
      参数:
      message - the message for encode
      返回:
      the serialized bytes