Skip to main content

Class: JinFile<T>

Type parameters

NameType
Textends ReadStream | Buffer | File | Blob

Constructors

constructor

new JinFile<T>(name, file)

Type parameters

NameType
Textends ReadStream | Buffer | File | Blob

Parameters

NameType
namestring
fileT

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

Defined in

jin-frame/src/frames/JinFile.ts:19