OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 'use strict'; | 5 'use strict'; |
6 | 6 |
7 /** | 7 /** |
8 * @constructor | 8 * @constructor |
9 * @param {ArrayBuffer} arrayBuffer // TODO(JSDOC). | 9 * @param {ArrayBuffer} arrayBuffer // TODO(JSDOC). |
10 * @param {number=} opt_offset // TODO(JSDOC). | 10 * @param {number=} opt_offset // TODO(JSDOC). |
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
526 this.seek(this.seekStack_.pop()); | 526 this.seek(this.seekStack_.pop()); |
527 }; | 527 }; |
528 | 528 |
529 /** | 529 /** |
530 * Return the current read position. | 530 * Return the current read position. |
531 * @return {number} // TODO(JSDOC). | 531 * @return {number} // TODO(JSDOC). |
532 */ | 532 */ |
533 ByteReader.prototype.tell = function() { | 533 ByteReader.prototype.tell = function() { |
534 return this.pos_; | 534 return this.pos_; |
535 }; | 535 }; |
OLD | NEW |