Make the reader types more permissive of inputs.

Now the EbmlParser and DataViewReader types can accept BufferSource
objects to avoid the caller having to convert it at each callsite.

Change-Id: I527fbc638485214bfe976d7da89b79b6098033a8
This commit is contained in:
Jacob Trimble
2019-08-20 11:44:29 -07:00
parent a2bcf7278d
commit ac4fdfd0cd
10 changed files with 37 additions and 52 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ goog.require('shaka.util.Iterables');
/**
* @summary A set of BufferSource utility functions.
* @exportDoc
* @exportInterface
*/
shaka.util.BufferUtils = class {
/**