sse_encode_list_my_value method

  1. @protected
void sse_encode_list_my_value(
  1. List<MyValue> self,
  2. SseSerializer serializer
)
override

Implementation

@protected
void sse_encode_list_my_value(List<MyValue> self, SseSerializer serializer) {
  // Codec=Sse (Serialization based), see doc to use other codecs
  sse_encode_i_32(self.length, serializer);
  for (final item in self) {
    sse_encode_my_value(item, serializer);
  }
}