Static Class BlobUtils

BlobUtils is a portable, cross-browser utility library for working with Blob instances. See Blob.


Method Summary
<static>  void asBinaryString(callback, blob)
           Reads a string from a Blob and passes it as a parameter to the specified callback function.
<static>  void asNumberArray(callback, blob)
           Read an Array of JavaScript Numbers from a Blob instance and passes it as a parameter to the specified callback function.
<static>  String asString(blob, start, end)
           Reads a UTF-8 string from a Blob.
<static>  Blob fromBinaryString(byte)
           Create a Blob from a Byte string.
<static>  Blob fromNumberArray(Number)
           Create a Blob from a Number Array.
<static>  Blob fromString(string, endings)
           Create a Blob from a String via UTF-8 encoding.
 
Method Detail

asBinaryString

<static> void asBinaryString(callback, blob)

asNumberArray

<static> void asNumberArray(callback, blob)

asString

<static> String asString(blob, start, end)

fromBinaryString

<static> Blob fromBinaryString(byte)

fromNumberArray

<static> Blob fromNumberArray(Number)

fromString

<static> Blob fromString(string, endings)