Class: JinFile<T>
Type parameters
Name | Type |
---|---|
T | extends ReadStream | Buffer | File | Blob |
Constructors
constructor
• new JinFile<T
>(name
, file
)
Type parameters
Name | Type |
---|---|
T | extends ReadStream | Buffer | File | Blob |
Parameters
Name | Type |
---|---|
name | string |
file | T |
Defined in
jin-frame/src/frames/JinFile.ts:10
Properties
#file
• Private
#file: T
file content via stream or buffer
Defined in
jin-frame/src/frames/JinFile.ts:8
#name
• Private
#name: string
filename
Defined in
jin-frame/src/frames/JinFile.ts:5
Accessors
file
• get
file(): T
Returns
T
Defined in
jin-frame/src/frames/JinFile.ts:15
name
• get
name(): string
Returns
string