docs: function fromTypedArray (array) {
  	if (array instanceof Int8Array) {
  		return {
  			float: false,
  			signed: true,
  			bitDepth: 8
  		}
  	}
  	if ((array instanceof Uint8Array) || (array instanceof Uint8ClampedArray)) {
  		return {
  			float: false,
  			signed: false,
  			bitDepth: 8
  		}
  	}
  	if (array instanceof Int16Array) {
  		return {
  			float: false,
  			signed: true,
  			bitDepth: 16
  		}
  	}
  	if (array instanceof Uint16Array) {
  		return {
  			float: false,
  			signed: false,
  			bitDepth: 16
  		}
  	}
  	if (array instanceof Int32Array) {
  		return {
  			float: false,
  			signed: true,
  			bitDepth: 32
  		}
  	}
  	if (array instanceof Uint32Array) {
  		return {
  			float: false,
  			signed: false,
  			bitDepth: 32
  		}
  	}
  	if (array instanceof Float32Array) {
  		return {
  			float: true,
  			signed: false,
  			bitDepth: 32
  		}
  	}
  	if (array instanceof Float64Array) {
  		return {
  			float: true,
  			signed: false,
  			bitDepth: 64
  		}
  	}
  
  	//other dataview types are Uint8Arrays
  	return {
  		float: false,
  		signed: false,
  		bitDepth: 8
  	}
  }