yajsapi - JavaScript high-level API
Yagna Contributor Guide

Class: Content

yajsapi / Exports / storage / Content

Class: Content

storage.Content

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Content(length, stream)

Parameters

Name

Type

length

any

stream

any

Defined in

yajsapi/storage/index.ts:8

Properties

length

length: number

Defined in

yajsapi/storage/index.ts:7

stream

stream: any

Defined in

yajsapi/storage/index.ts:8

Methods

from_reader

from_reader(length, s): Content

Parameters

Name

Type

length

number

s

any

Returns

Content

Defined in

yajsapi/storage/index.ts:15