Documentation ¶
Index ¶
- func GetGlobalBlobJSValue() js.Value
- func IsBlobSupported() bool
- func ValueIsInstanceOfBlob(v js.Value) bool
- type Blob
- func (self *Blob) ArrayBuffer() (*arraybuffer.ArrayBuffer, error)
- func (self *Blob) MakeReader() (*BlobReader, error)
- func (self *Blob) Size() (int, error)
- func (self *Blob) Slice(start *int, end *int, contentType *string) (*Blob, error)
- func (self *Blob) Text() (*promise.Promise, error)
- func (self *Blob) Type() (string, error)
- type BlobReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGlobalBlobJSValue ¶
func IsBlobSupported ¶
func IsBlobSupported() bool
func ValueIsInstanceOfBlob ¶
Types ¶
type Blob ¶
func (*Blob) ArrayBuffer ¶
func (self *Blob) ArrayBuffer() (*arraybuffer.ArrayBuffer, error)
func (*Blob) MakeReader ¶
func (self *Blob) MakeReader() (*BlobReader, error)
type BlobReader ¶
type BlobReader struct { EOF bool // contains filtered or unexported fields }
func NewBlobReader ¶
func NewBlobReader(blob *Blob) (*BlobReader, error)
Click to show internal directories.
Click to hide internal directories.