1
1
// Protocol Buffers - Google's data interchange format
2
2
// Copyright 2008 Google Inc. All rights reserved.
3
- // https://developers.google.com/protocol-buffers /
3
+ // https://protobuf.dev /
4
4
//
5
5
// Redistribution and use in source and binary forms, with or without
6
6
// modification, are permitted provided that the following conditions are
@@ -54,7 +54,7 @@ goog.require('jspb.utils');
54
54
55
55
/**
56
56
* BinaryDecoder implements the decoders for all the wire types specified in
57
- * https://developers.google.com/protocol-buffers/docs/ encoding.
57
+ * https://protobuf.dev/programming-guides/ encoding/ .
58
58
*
59
59
* @param {jspb.ByteSource= } opt_bytes The bytes we're reading from.
60
60
* @param {number= } opt_start The optional offset to start reading at.
@@ -301,7 +301,7 @@ jspb.BinaryDecoder.prototype.getError = function() {
301
301
*
302
302
* Decoding varints requires doing some funny base-128 math - for more
303
303
* details on the format, see
304
- * https://developers.google.com/protocol-buffers/docs/ encoding
304
+ * https://protobuf.dev/programming-guides/ encoding/
305
305
*
306
306
* @param {function(number, number): T } convert Conversion function to produce
307
307
* the result value, takes parameters (lowBits, highBits).
@@ -358,7 +358,7 @@ jspb.BinaryDecoder.prototype.readSplitVarint64 = function(convert) {
358
358
*
359
359
* Zigzag encoding is a modification of varint encoding that reduces the
360
360
* storage overhead for small negative integers - for more details on the
361
- * format, see https://developers.google.com/protocol-buffers/docs/ encoding
361
+ * format, see https://protobuf.dev/programming-guides/ encoding/
362
362
*
363
363
* @param {function(number, number): T } convert Conversion function to produce
364
364
* the result value, takes parameters (lowBits, highBits).
@@ -439,7 +439,7 @@ jspb.BinaryDecoder.prototype.unskipVarint = function(value) {
439
439
*
440
440
* Decoding varints requires doing some funny base-128 math - for more
441
441
* details on the format, see
442
- * https://developers.google.com/protocol-buffers/docs/ encoding
442
+ * https://protobuf.dev/programming-guides/ encoding/
443
443
*
444
444
* @return {number } The decoded unsigned 32-bit varint.
445
445
* @export
@@ -554,7 +554,7 @@ jspb.BinaryDecoder.prototype.readSignedVarint32String = function() {
554
554
*
555
555
* Zigzag encoding is a modification of varint encoding that reduces the
556
556
* storage overhead for small negative integers - for more details on the
557
- * format, see https://developers.google.com/protocol-buffers/docs/ encoding
557
+ * format, see https://protobuf.dev/programming-guides/ encoding/
558
558
*
559
559
* @return {number } The decoded signed, zigzag-encoded 32-bit varint.
560
560
* @export
@@ -625,7 +625,7 @@ jspb.BinaryDecoder.prototype.readSignedVarint64String = function() {
625
625
*
626
626
* Zigzag encoding is a modification of varint encoding that reduces the
627
627
* storage overhead for small negative integers - for more details on the
628
- * format, see https://developers.google.com/protocol-buffers/docs/ encoding
628
+ * format, see https://protobuf.dev/programming-guides/ encoding/
629
629
*
630
630
* @return {number } The decoded zigzag varint. Precision will be lost if the
631
631
* integer exceeds 2^53.
@@ -643,7 +643,7 @@ jspb.BinaryDecoder.prototype.readZigzagVarint64 = function() {
643
643
*
644
644
* Zigzag encoding is a modification of varint encoding that reduces the
645
645
* storage overhead for small negative integers - for more details on the
646
- * format, see https://developers.google.com/protocol-buffers/docs/ encoding
646
+ * format, see https://protobuf.dev/programming-guides/ encoding/
647
647
*
648
648
* @return {string } The decoded zigzag varint in hash64 format.
649
649
* @export
@@ -659,7 +659,7 @@ jspb.BinaryDecoder.prototype.readZigzagVarintHash64 = function() {
659
659
*
660
660
* Zigzag encoding is a modification of varint encoding that reduces the
661
661
* storage overhead for small negative integers - for more details on the
662
- * format, see https://developers.google.com/protocol-buffers/docs/ encoding
662
+ * format, see https://protobuf.dev/programming-guides/ encoding/
663
663
*
664
664
* @return {string } The decoded signed, zigzag-encoded 64-bit varint as a
665
665
* string.
0 commit comments