class_docstr: Serializer that writes objects as a stream of (length, data) pairs,
  where length is a 32-bit integer and data is length bytes.
class_docstr_tok: ["Serializer","that","writes","objects","as","a","stream","of","(","length",",","data",")","pairs",",","where","length","is","a","32-bit","integer","and","data","is","length","bytes","."]
docstr: Serialize an object into a byte array.
  When batching is used, this will be called with an array of objects.
docstr_tok: ["Serialize","an","object","into","a","byte","array",".","When","batching","is","used",",","this","will","be","called","with","an","array","of","objects","."]
code: def dumps(self, obj):
      """
      Serialize an object into a byte array.
      When batching is used, this will be called with an array of objects.
      """
      pass
  
imports: import pickle
  import struct
  from abc import abstractmethod
  from io import BytesIO
  from itertools import chain
  from typing import TypeVar, Iterable
  from pyflink.common.serializer import TypeSerializer
label_desc: Use image node_id 5 for calling the VarLengthDataSerializer obj's underlying member method code with example usage: obj.dumps(obj) without return types