@@ -119,7 +119,7 @@ function accessAllTypes() {
119119 arrayVal [ 0 ] = true ;
120120 msgAllTypes . setRepeatedBoolList ( arrayVal ) ;
121121 msgAllTypes . setRepeatedBytesList ( [ '' ] ) ;
122- arrayVal = msgAllTypes . getRepeatedBytesList ( ) ;
122+ arrayVal = msgAllTypes . getRepeatedBytesList_asB64 ( ) ;
123123 arrayVal [ 0 ] = '' ;
124124 msgAllTypes . setRepeatedBytesList ( arrayVal ) ;
125125 msgPackedTypes . setPackedDoubleList ( [ 1.0 ] ) ;
@@ -233,8 +233,7 @@ function accessAllTypes() {
233233
234234 let s = '' ;
235235 s += msgAllTypes . getOptionalBool ( ) || false ;
236- s += msgAllTypes . getOptionalBytes ( ) || '' ;
237- // s += msgAllTypes.getOptionalBytes_asB64() || "";
236+ s += msgAllTypes . getOptionalBytes_asB64 ( ) || '' ;
238237 // s += msgAllTypes.getOptionalBytes_asU8() || new Uint8Array([]);
239238 s += msgAllTypes . getOptionalDouble ( ) || 0.0 ;
240239 s += msgAllTypes . getOptionalFixed32 ( ) || 0 ;
@@ -254,10 +253,9 @@ function accessAllTypes() {
254253 s += msgAllTypes . getRepeatedBoolList ( ) ;
255254 s += msgAllTypes . getRepeatedBoolList ( ) [ 0 ] ;
256255 s += msgAllTypes . getRepeatedBoolList ( ) . length ;
257- s += msgAllTypes . getRepeatedBytesList ( ) ;
258- s += msgAllTypes . getRepeatedBytesList ( ) [ 0 ] ;
259- s += msgAllTypes . getRepeatedBytesList ( ) . length ;
260256 s += msgAllTypes . getRepeatedBytesList_asB64 ( ) ;
257+ s += msgAllTypes . getRepeatedBytesList_asB64 ( ) [ 0 ] ;
258+ s += msgAllTypes . getRepeatedBytesList_asB64 ( ) . length ;
261259 s += msgAllTypes . getRepeatedBytesList_asU8 ( ) ;
262260 s += msgAllTypes . getRepeatedDoubleList ( ) ;
263261 s += msgAllTypes . getRepeatedDoubleList ( ) [ 0 ] ;
0 commit comments