Documentation ¶
Index ¶
- Variables
- func GetInterface() js.Value
- type Blob
- func (b Blob) ArrayBuffer() (promise.Promise, error)
- func (b Blob) Blob_() Blob
- func (b Blob) Close() error
- func (b Blob) IsClosed() (bool, error)
- func (b Blob) Size() (int64, error)
- func (b Blob) Slice(begin, end int64) (Blob, error)
- func (b Blob) Stream() (stream.ReadableStream, error)
- func (b Blob) Text() (promise.Promise, error)
- func (b Blob) Type() (string, error)
- type BlobFrom
- type BlobStream
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //ErrNotAnBlob ErrNotAnBlob error ErrNotABlob = errors.New("Object is not a Blob") ErrNotImplemented = errors.New("Browser not implemented Blob") )
Functions ¶
Types ¶
type Blob ¶
type Blob struct {
baseobject.BaseObject
}
func NewWithArrayBuffer ¶
func NewWithArrayBuffer(a arraybuffer.ArrayBuffer) (Blob, error)
type BlobStream ¶
type BlobStream struct { Blob // contains filtered or unexported fields }
func NewBlobStream ¶
func NewBlobStream(blob Blob) BlobStream
func (BlobStream) GetBlob ¶
func (b BlobStream) GetBlob() Blob
Click to show internal directories.
Click to hide internal directories.