Lines Matching refs:field
75 * Cursor immediately before the field tag.
81 * Field number of the next field in the buffer, filled in by nextField().
87 * Wire type of the next proto field in the buffer, filled in by
165 * Returns the cursor immediately before the current field's tag.
192 * @return {number} The field number of the next field in the buffer, or
193 * INVALID_FIELD_NUMBER if there is no next field.
201 * @return {jspb.BinaryConstants.WireType} The wire type of the next field
202 * in the stream, or WireType.INVALID if there is no next field.
261 * Reads the next field header in the stream if there is one, returns true if
262 * we saw a valid field header or false if we've read the whole stream.
263 * Throws an error if we encountered a deprecated START_GROUP/END_GROUP field.
272 // If we hit an error decoding the previous field, stop now before we
279 // Otherwise just read the header of the next field.
309 * Winds the reader back to just before this field's header.
320 var field = this.nextField_;
323 while (this.nextField() && (this.getFieldNumber() == field)) {
334 * Skips over the next varint field in the binary stream.
348 * Skips over the next delimited field in the binary stream.
363 * Skips over the next fixed32 field in the binary stream.
377 * Skips over the next fixed64 field in the binary stream.
391 * Skips over the next group field in the binary stream.
417 * Skips over the next field in the binary stream - this is useful if we're
438 goog.asserts.fail('Invalid wire encoding for field.');
472 * Reads a field of any valid non-message type from the binary stream.
499 goog.asserts.fail('Group field type not supported in readAny()');
501 goog.asserts.fail('Message field type not supported in readAny()');
521 goog.asserts.fail('Invalid field type in readAny()');
560 * @param {number} field
565 function(field, message, reader) {
569 // Ensure that the field number is correct.
570 goog.asserts.assert(this.nextField_ == field);
584 * Return a decoder that wraps the current delimited field.
603 * Reads a signed 32-bit integer field from the binary stream, or throws an
604 * error if the next field in the stream is not of the correct wire type.
606 * @return {number} The value of the signed 32-bit integer field.
616 * Reads a signed 32-bit integer field from the binary stream, or throws an
617 * error if the next field in the stream is not of the correct wire type.
621 * @return {string} The value of the signed 32-bit integer field as a decimal
632 * Reads a signed 64-bit integer field from the binary stream, or throws an
633 * error if the next field in the stream is not of the correct wire type.
635 * @return {number} The value of the signed 64-bit integer field.
645 * Reads a signed 64-bit integer field from the binary stream, or throws an
646 * error if the next field in the stream is not of the correct wire type.
650 * @return {string} The value of the signed 64-bit integer field as a decimal
661 * Reads an unsigned 32-bit integer field from the binary stream, or throws an
662 * error if the next field in the stream is not of the correct wire type.
664 * @return {number} The value of the unsigned 32-bit integer field.
674 * Reads an unsigned 32-bit integer field from the binary stream, or throws an
675 * error if the next field in the stream is not of the correct wire type.
679 * @return {string} The value of the unsigned 32-bit integer field as a decimal
690 * Reads an unsigned 64-bit integer field from the binary stream, or throws an
691 * error if the next field in the stream is not of the correct wire type.
693 * @return {number} The value of the unsigned 64-bit integer field.
703 * Reads an unsigned 64-bit integer field from the binary stream, or throws an
704 * error if the next field in the stream is not of the correct wire type.
708 * @return {string} The value of the unsigned 64-bit integer field as a decimal
719 * Reads a signed zigzag-encoded 32-bit integer field from the binary stream,
720 * or throws an error if the next field in the stream is not of the correct
723 * @return {number} The value of the signed 32-bit integer field.
733 * Reads a signed zigzag-encoded 64-bit integer field from the binary stream,
734 * or throws an error if the next field in the stream is not of the correct
737 * @return {number} The value of the signed 64-bit integer field.
747 * Reads a signed zigzag-encoded 64-bit integer field from the binary stream,
748 * or throws an error if the next field in the stream is not of the correct
751 * @return {string} The value of the signed 64-bit integer field as a decimal string.
762 * or throws an error if the next field in the stream is not of the correct
765 * @return {number} The value of the double field.
776 * or throws an error if the next field in the stream is not of the correct
779 * @return {number} The value of the float field.
789 * Reads a signed 64-bit integer field from the binary stream as a string, or
790 * throws an error if the next field in the stream is not of the correct wire
795 * @return {string} The value of the unsigned 64-bit integer field as a decimal
807 * throws an error if the next field in the stream is not of the correct wire
810 * @return {number} The value of the signed 32-bit integer field.
821 * throws an error if the next field in the stream is not of the correct wire
824 * @return {string} The value of the signed 32-bit integer field as a decimal
836 * throws an error if the next field in the stream is not of the correct wire
839 * @return {number} The value of the sfixed64 field.
850 * throws an error if the next field in the stream is not of the correct wire
855 * @return {string} The value of the sfixed64 field as a decimal string.
865 * Reads a 32-bit floating-point field from the binary stream, or throws an
866 * error if the next field in the stream is not of the correct wire type.
868 * @return {number} The value of the float field.
878 * Reads a 64-bit floating-point field from the binary stream, or throws an
879 * error if the next field in the stream is not of the correct wire type.
881 * @return {number} The value of the double field.
891 * Reads a boolean field from the binary stream, or throws an error if the next
892 * field in the stream is not of the correct wire type.
894 * @return {boolean} The value of the boolean field.
904 * Reads an enum field from the binary stream, or throws an error if the next
905 * field in the stream is not of the correct wire type.
907 * @return {number} The value of the enum field.
917 * Reads a string field from the binary stream, or throws an error if the next
918 * field in the stream is not of the correct wire type.
920 * @return {string} The value of the string field.
932 * null if the next field in the stream has an invalid length value.
945 * Reads a 64-bit varint or fixed64 field from the stream and returns it as an
947 * if the next field in the stream is not of the correct wire type.
959 * Reads an sint64 field from the stream and returns it as an 8-character
961 * field in the stream is not of the correct wire type.
973 * Reads a 64-bit varint field from the stream and invokes `convert` to produce
974 * the return value, or throws an error if the next field in the stream is not
990 * Reads a 64-bit zig-zag varint field from the stream and invokes `convert` to
991 * produce the return value, or throws an error if the next field in the stream
1009 * Reads a 64-bit varint or fixed64 field from the stream and returns it as a
1011 * if the next field in the stream is not of the correct wire type.
1023 * Reads a 64-bit fixed64 field from the stream and invokes `convert`
1024 * to produce the return value, or throws an error if the next field in the
1040 * Reads a packed scalar field using the supplied raw reader function.
1060 * Reads a packed int32 field, which consists of a length header and a list of
1070 * Reads a packed int32 field, which consists of a length header and a list of
1080 * Reads a packed int64 field, which consists of a length header and a list of
1090 * Reads a packed int64 field, which consists of a length header and a list of
1100 * Reads a packed uint32 field, which consists of a length header and a list of
1110 * Reads a packed uint32 field, which consists of a length header and a list of
1120 * Reads a packed uint64 field, which consists of a length header and a list of
1130 * Reads a packed uint64 field, which consists of a length header and a list of
1140 * Reads a packed sint32 field, which consists of a length header and a list of
1150 * Reads a packed sint64 field, which consists of a length header and a list of
1160 * Reads a packed sint64 field, which consists of a length header and a list of
1170 * Reads a packed fixed32 field, which consists of a length header and a list
1180 * Reads a packed fixed64 field, which consists of a length header and a list
1190 * Reads a packed fixed64 field, which consists of a length header and a list
1200 * Reads a packed sfixed32 field, which consists of a length header and a list
1210 * Reads a packed sfixed64 field, which consists of a length header and a list
1220 * Reads a packed sfixed64 field, which consists of a length header and a list
1230 * Reads a packed float field, which consists of a length header and a list of
1240 * Reads a packed double field, which consists of a length header and a list of
1250 * Reads a packed bool field, which consists of a length header and a list of
1260 * Reads a packed enum field, which consists of a length header and a list of
1270 * Reads a packed varint hash64 field, which consists of a length header and a
1280 * Reads a packed fixed hash64 field, which consists of a length header and a