Skip to content

Commit 0813936

Browse files
dankurkacopybara-github
authored andcommitted
Project import generated by Copybara
PiperOrigin-RevId: 297743020
1 parent 64c3b1f commit 0813936

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

experimental/runtime/kernel/writer.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,8 @@ class Writer {
411411
this.writeTag(fieldNumber, WireType.DELIMITED);
412412
const array = encoderFunction(value);
413413
this.writeUnsignedVarint32_(array.length);
414-
this.writeRaw_(array.buffer);
414+
this.closeAndStartNewBuffer_();
415+
this.blocks_.push(array);
415416
}
416417

417418
/**

0 commit comments

Comments
 (0)