kmath-memory
/
space.kscience.kmath.memory
/
read
common
read
inline fun <
R
>
Memory
.
read
(block:
MemoryReader
.() ->
R
):
R
Content copied to clipboard
Uses the memory for read then releases the reader.
fun <
T
:
Any
>
MemoryReader
.
read
(spec:
MemorySpec
<
T
>, offset:
Int
):
T
Content copied to clipboard
Reads the object with
spec
starting from
offset
.