docs: public static <T> byte[] toByteArray(T message, Schema<T> schema, boolean numeric)
      {
          ArrayBufferOutput out = new ArrayBufferOutput();
          try
          {
              writeTo(out, message, schema, numeric);
          }
          catch (IOException e)
          {
              throw new RuntimeException("Serializing to a byte array threw an IOException", e);
          }
          return out.toByteArray();
      }