Google is committed to advancing racial equity for Black communities. See how.

encodeArray method

void encodeArray (Encoder encoder, List<T> value, int offset)

Implementation

void encodeArray(Encoder encoder, List<T> value, int offset) {
  final int count = value.length;
  final int stride = encodingInlineSize(encoder);
  for (int i = 0; i < count; ++i) {
    encode(encoder, value[i], offset + i * stride);
  }
}