Reader reads bytes from a blob. It implements io.ReadSeekCloser, and must be closed after reads are finished.

Hierarchy

  • Reader

Methods

  • ContentType returns the MIME type of the blob.

    Returns string

  • Size returns the size of the blob content in bytes.

    Returns number

  • WriteTo reads from r and writes to w until there's no more data or an error occurs. The return value is the number of bytes written to w.

    It implements the io.WriterTo interface.

    Parameters

    Returns number

Generated using TypeDoc