MCPcopy Create free account
hub / github.com/alaisi/nalloc / toBytes

Method toBytes

src/main/java/com/github/nalloc/MmapAllocator.java:83–83  ·  view source on GitHub ↗

Casts the Array of structs to ByteBuffer. Calling this method never allocates from JVM heap. @param structs Mmapped array @return Array memory region as buffer

(final Array<?> structs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Implementers 1

DirectBufferMmapAllocatorsrc/main/java/com/github/nalloc/impl/D

Calls

no outgoing calls