@@ -192,6 +192,7 @@ jspb.BinaryReader.prototype.getBuffer = function() {
192
192
/**
193
193
* @return {number } The field number of the next field in the buffer, or
194
194
* INVALID_FIELD_NUMBER if there is no next field.
195
+ * @export
195
196
*/
196
197
jspb . BinaryReader . prototype . getFieldNumber = function ( ) {
197
198
return this . nextField_ ;
@@ -210,6 +211,7 @@ jspb.BinaryReader.prototype.getWireType = function() {
210
211
/**
211
212
* @return {boolean } Whether the current wire type is a delimited field. Used to
212
213
* conditionally parse packed repeated fields.
214
+ * @export
213
215
*/
214
216
jspb . BinaryReader . prototype . isDelimited = function ( ) {
215
217
return this . nextWireType_ == jspb . BinaryConstants . WireType . DELIMITED ;
@@ -219,6 +221,7 @@ jspb.BinaryReader.prototype.isDelimited = function() {
219
221
/**
220
222
* @return {boolean } Whether the current wire type is an end-group tag. Used as
221
223
* an exit condition in decoder loops in generated code.
224
+ * @export
222
225
*/
223
226
jspb . BinaryReader . prototype . isEndGroup = function ( ) {
224
227
return this . nextWireType_ == jspb . BinaryConstants . WireType . END_GROUP ;
@@ -272,6 +275,7 @@ jspb.BinaryReader.prototype.advance = function(count) {
272
275
* we saw a valid field header or false if we've read the whole stream.
273
276
* Throws an error if we encountered a deprecated START_GROUP/END_GROUP field.
274
277
* @return {boolean } True if the stream contains more fields.
278
+ * @export
275
279
*/
276
280
jspb . BinaryReader . prototype . nextField = function ( ) {
277
281
// If we're at the end of the block, there are no more fields.
@@ -541,6 +545,7 @@ jspb.BinaryReader.prototype.readAny = function(fieldType) {
541
545
* @template T
542
546
* @param {T } message
543
547
* @param {function(T, !jspb.BinaryReader) } reader
548
+ * @export
544
549
*/
545
550
jspb . BinaryReader . prototype . readMessage = function ( message , reader ) {
546
551
goog . asserts . assert (
@@ -570,6 +575,7 @@ jspb.BinaryReader.prototype.readMessage = function(message, reader) {
570
575
* @param {number } field
571
576
* @param {T } message
572
577
* @param {function(T, !jspb.BinaryReader) } reader
578
+ * @export
573
579
*/
574
580
jspb . BinaryReader . prototype . readGroup =
575
581
function ( field , message , reader ) {
@@ -614,6 +620,7 @@ jspb.BinaryReader.prototype.getFieldDecoder = function() {
614
620
* error if the next field in the stream is not of the correct wire type.
615
621
*
616
622
* @return {number } The value of the signed 32-bit integer field.
623
+ * @export
617
624
*/
618
625
jspb . BinaryReader . prototype . readInt32 = function ( ) {
619
626
goog . asserts . assert (
@@ -643,6 +650,7 @@ jspb.BinaryReader.prototype.readInt32String = function() {
643
650
* error if the next field in the stream is not of the correct wire type.
644
651
*
645
652
* @return {number } The value of the signed 64-bit integer field.
653
+ * @export
646
654
*/
647
655
jspb . BinaryReader . prototype . readInt64 = function ( ) {
648
656
goog . asserts . assert (
@@ -672,6 +680,7 @@ jspb.BinaryReader.prototype.readInt64String = function() {
672
680
* error if the next field in the stream is not of the correct wire type.
673
681
*
674
682
* @return {number } The value of the unsigned 32-bit integer field.
683
+ * @export
675
684
*/
676
685
jspb . BinaryReader . prototype . readUint32 = function ( ) {
677
686
goog . asserts . assert (
@@ -701,6 +710,7 @@ jspb.BinaryReader.prototype.readUint32String = function() {
701
710
* error if the next field in the stream is not of the correct wire type.
702
711
*
703
712
* @return {number } The value of the unsigned 64-bit integer field.
713
+ * @export
704
714
*/
705
715
jspb . BinaryReader . prototype . readUint64 = function ( ) {
706
716
goog . asserts . assert (
@@ -731,6 +741,7 @@ jspb.BinaryReader.prototype.readUint64String = function() {
731
741
* wire type.
732
742
*
733
743
* @return {number } The value of the signed 32-bit integer field.
744
+ * @export
734
745
*/
735
746
jspb . BinaryReader . prototype . readSint32 = function ( ) {
736
747
goog . asserts . assert (
@@ -745,6 +756,7 @@ jspb.BinaryReader.prototype.readSint32 = function() {
745
756
* wire type.
746
757
*
747
758
* @return {number } The value of the signed 64-bit integer field.
759
+ * @export
748
760
*/
749
761
jspb . BinaryReader . prototype . readSint64 = function ( ) {
750
762
goog . asserts . assert (
@@ -773,6 +785,7 @@ jspb.BinaryReader.prototype.readSint64String = function() {
773
785
* wire type.
774
786
*
775
787
* @return {number } The value of the double field.
788
+ * @export
776
789
*/
777
790
jspb . BinaryReader . prototype . readFixed32 = function ( ) {
778
791
goog . asserts . assert (
@@ -787,6 +800,7 @@ jspb.BinaryReader.prototype.readFixed32 = function() {
787
800
* wire type.
788
801
*
789
802
* @return {number } The value of the float field.
803
+ * @export
790
804
*/
791
805
jspb . BinaryReader . prototype . readFixed64 = function ( ) {
792
806
goog . asserts . assert (
@@ -818,6 +832,7 @@ jspb.BinaryReader.prototype.readFixed64String = function() {
818
832
* type.
819
833
*
820
834
* @return {number } The value of the signed 32-bit integer field.
835
+ * @export
821
836
*/
822
837
jspb . BinaryReader . prototype . readSfixed32 = function ( ) {
823
838
goog . asserts . assert (
@@ -847,6 +862,7 @@ jspb.BinaryReader.prototype.readSfixed32String = function() {
847
862
* type.
848
863
*
849
864
* @return {number } The value of the sfixed64 field.
865
+ * @export
850
866
*/
851
867
jspb . BinaryReader . prototype . readSfixed64 = function ( ) {
852
868
goog . asserts . assert (
@@ -876,6 +892,7 @@ jspb.BinaryReader.prototype.readSfixed64String = function() {
876
892
* error if the next field in the stream is not of the correct wire type.
877
893
*
878
894
* @return {number } The value of the float field.
895
+ * @export
879
896
*/
880
897
jspb . BinaryReader . prototype . readFloat = function ( ) {
881
898
goog . asserts . assert (
@@ -889,6 +906,7 @@ jspb.BinaryReader.prototype.readFloat = function() {
889
906
* error if the next field in the stream is not of the correct wire type.
890
907
*
891
908
* @return {number } The value of the double field.
909
+ * @export
892
910
*/
893
911
jspb . BinaryReader . prototype . readDouble = function ( ) {
894
912
goog . asserts . assert (
@@ -902,6 +920,7 @@ jspb.BinaryReader.prototype.readDouble = function() {
902
920
* field in the stream is not of the correct wire type.
903
921
*
904
922
* @return {boolean } The value of the boolean field.
923
+ * @export
905
924
*/
906
925
jspb . BinaryReader . prototype . readBool = function ( ) {
907
926
goog . asserts . assert (
@@ -915,6 +934,7 @@ jspb.BinaryReader.prototype.readBool = function() {
915
934
* field in the stream is not of the correct wire type.
916
935
*
917
936
* @return {number } The value of the enum field.
937
+ * @export
918
938
*/
919
939
jspb . BinaryReader . prototype . readEnum = function ( ) {
920
940
goog . asserts . assert (
@@ -928,6 +948,7 @@ jspb.BinaryReader.prototype.readEnum = function() {
928
948
* field in the stream is not of the correct wire type.
929
949
*
930
950
* @return {string } The value of the string field.
951
+ * @export
931
952
*/
932
953
jspb . BinaryReader . prototype . readString = function ( ) {
933
954
goog . asserts . assert (
@@ -942,6 +963,7 @@ jspb.BinaryReader.prototype.readString = function() {
942
963
* null if the next field in the stream has an invalid length value.
943
964
*
944
965
* @return {!Uint8Array } The block of bytes.
966
+ * @export
945
967
*/
946
968
jspb . BinaryReader . prototype . readBytes = function ( ) {
947
969
goog . asserts . assert (
@@ -1070,6 +1092,7 @@ jspb.BinaryReader.prototype.readPackedField_ = function(decodeMethod) {
1070
1092
* Reads a packed int32 field, which consists of a length header and a list of
1071
1093
* signed varints.
1072
1094
* @return {!Array<number> }
1095
+ * @export
1073
1096
*/
1074
1097
jspb . BinaryReader . prototype . readPackedInt32 = function ( ) {
1075
1098
return this . readPackedField_ ( this . decoder_ . readSignedVarint32 ) ;
@@ -1090,6 +1113,7 @@ jspb.BinaryReader.prototype.readPackedInt32String = function() {
1090
1113
* Reads a packed int64 field, which consists of a length header and a list of
1091
1114
* signed varints.
1092
1115
* @return {!Array<number> }
1116
+ * @export
1093
1117
*/
1094
1118
jspb . BinaryReader . prototype . readPackedInt64 = function ( ) {
1095
1119
return this . readPackedField_ ( this . decoder_ . readSignedVarint64 ) ;
@@ -1110,6 +1134,7 @@ jspb.BinaryReader.prototype.readPackedInt64String = function() {
1110
1134
* Reads a packed uint32 field, which consists of a length header and a list of
1111
1135
* unsigned varints.
1112
1136
* @return {!Array<number> }
1137
+ * @export
1113
1138
*/
1114
1139
jspb . BinaryReader . prototype . readPackedUint32 = function ( ) {
1115
1140
return this . readPackedField_ ( this . decoder_ . readUnsignedVarint32 ) ;
@@ -1130,6 +1155,7 @@ jspb.BinaryReader.prototype.readPackedUint32String = function() {
1130
1155
* Reads a packed uint64 field, which consists of a length header and a list of
1131
1156
* unsigned varints.
1132
1157
* @return {!Array<number> }
1158
+ * @export
1133
1159
*/
1134
1160
jspb . BinaryReader . prototype . readPackedUint64 = function ( ) {
1135
1161
return this . readPackedField_ ( this . decoder_ . readUnsignedVarint64 ) ;
@@ -1150,6 +1176,7 @@ jspb.BinaryReader.prototype.readPackedUint64String = function() {
1150
1176
* Reads a packed sint32 field, which consists of a length header and a list of
1151
1177
* zigzag varints.
1152
1178
* @return {!Array<number> }
1179
+ * @export
1153
1180
*/
1154
1181
jspb . BinaryReader . prototype . readPackedSint32 = function ( ) {
1155
1182
return this . readPackedField_ ( this . decoder_ . readZigzagVarint32 ) ;
@@ -1160,6 +1187,7 @@ jspb.BinaryReader.prototype.readPackedSint32 = function() {
1160
1187
* Reads a packed sint64 field, which consists of a length header and a list of
1161
1188
* zigzag varints.
1162
1189
* @return {!Array<number> }
1190
+ * @export
1163
1191
*/
1164
1192
jspb . BinaryReader . prototype . readPackedSint64 = function ( ) {
1165
1193
return this . readPackedField_ ( this . decoder_ . readZigzagVarint64 ) ;
@@ -1180,6 +1208,7 @@ jspb.BinaryReader.prototype.readPackedSint64String = function() {
1180
1208
* Reads a packed fixed32 field, which consists of a length header and a list
1181
1209
* of unsigned 32-bit ints.
1182
1210
* @return {!Array<number> }
1211
+ * @export
1183
1212
*/
1184
1213
jspb . BinaryReader . prototype . readPackedFixed32 = function ( ) {
1185
1214
return this . readPackedField_ ( this . decoder_ . readUint32 ) ;
@@ -1190,6 +1219,7 @@ jspb.BinaryReader.prototype.readPackedFixed32 = function() {
1190
1219
* Reads a packed fixed64 field, which consists of a length header and a list
1191
1220
* of unsigned 64-bit ints.
1192
1221
* @return {!Array<number> }
1222
+ * @export
1193
1223
*/
1194
1224
jspb . BinaryReader . prototype . readPackedFixed64 = function ( ) {
1195
1225
return this . readPackedField_ ( this . decoder_ . readUint64 ) ;
@@ -1210,6 +1240,7 @@ jspb.BinaryReader.prototype.readPackedFixed64String = function() {
1210
1240
* Reads a packed sfixed32 field, which consists of a length header and a list
1211
1241
* of 32-bit ints.
1212
1242
* @return {!Array<number> }
1243
+ * @export
1213
1244
*/
1214
1245
jspb . BinaryReader . prototype . readPackedSfixed32 = function ( ) {
1215
1246
return this . readPackedField_ ( this . decoder_ . readInt32 ) ;
@@ -1220,6 +1251,7 @@ jspb.BinaryReader.prototype.readPackedSfixed32 = function() {
1220
1251
* Reads a packed sfixed64 field, which consists of a length header and a list
1221
1252
* of 64-bit ints.
1222
1253
* @return {!Array<number> }
1254
+ * @export
1223
1255
*/
1224
1256
jspb . BinaryReader . prototype . readPackedSfixed64 = function ( ) {
1225
1257
return this . readPackedField_ ( this . decoder_ . readInt64 ) ;
@@ -1240,6 +1272,7 @@ jspb.BinaryReader.prototype.readPackedSfixed64String = function() {
1240
1272
* Reads a packed float field, which consists of a length header and a list of
1241
1273
* floats.
1242
1274
* @return {!Array<number> }
1275
+ * @export
1243
1276
*/
1244
1277
jspb . BinaryReader . prototype . readPackedFloat = function ( ) {
1245
1278
return this . readPackedField_ ( this . decoder_ . readFloat ) ;
@@ -1250,6 +1283,7 @@ jspb.BinaryReader.prototype.readPackedFloat = function() {
1250
1283
* Reads a packed double field, which consists of a length header and a list of
1251
1284
* doubles.
1252
1285
* @return {!Array<number> }
1286
+ * @export
1253
1287
*/
1254
1288
jspb . BinaryReader . prototype . readPackedDouble = function ( ) {
1255
1289
return this . readPackedField_ ( this . decoder_ . readDouble ) ;
@@ -1260,6 +1294,7 @@ jspb.BinaryReader.prototype.readPackedDouble = function() {
1260
1294
* Reads a packed bool field, which consists of a length header and a list of
1261
1295
* unsigned varints.
1262
1296
* @return {!Array<boolean> }
1297
+ * @export
1263
1298
*/
1264
1299
jspb . BinaryReader . prototype . readPackedBool = function ( ) {
1265
1300
return this . readPackedField_ ( this . decoder_ . readBool ) ;
@@ -1270,6 +1305,7 @@ jspb.BinaryReader.prototype.readPackedBool = function() {
1270
1305
* Reads a packed enum field, which consists of a length header and a list of
1271
1306
* unsigned varints.
1272
1307
* @return {!Array<number> }
1308
+ * @export
1273
1309
*/
1274
1310
jspb . BinaryReader . prototype . readPackedEnum = function ( ) {
1275
1311
return this . readPackedField_ ( this . decoder_ . readEnum ) ;
0 commit comments