Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Quartz::RPC::Storage::File
Inherits
Struct
<
Value
<
Object
Constructors
decode
(bytes :
Bytes
) :
File
Source
new
(type :
FileType
=
FileType::FILE
, name :
String
= "", size :
UInt32
= 0_u32, data :
Bytes
=
Bytes
.empty)
Source
Instance methods
data
Source
data=
(data :
Bytes
)
Source
name
Source
name=
(name :
String
)
Source
size
Source
size=
(size :
UInt32
)
Source
type
Source
type=
(type :
FileType
)
Source