Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
chunked
v0.2.0
Chunked
Base
ChunkInfo
IndexedReader
IORange
Reader
Writer
Built with Crystal 1.9.2
2023-10-08 14:50:23 UTC
struct
Chunked::ChunkInfo(I, S)
Chunked::ChunkInfo(I, S)
Struct
Value
Object
Defined in:
chunked/chunk_info.cr
Constructors
.new
(index : I, size : S)
Class Method Summary
.read
(io : IO)
Instance Method Summary
#index
#index=
(index : I)
#size
#size=
(size : S)
#write
(to : IO)
Constructor Detail
def self.
new
(index : I, size : S)
#
[
View source
]
Class Method Detail
def self.
read
(io : IO)
#
[
View source
]
Instance Method Detail
def
index
#
[
View source
]
def
index=
(index : I)
#
[
View source
]
def
size
#
[
View source
]
def
size=
(size : S)
#
[
View source
]
def
write
(to : IO)
#
[
View source
]