creates a memory segment that wraps the given byte array . this method is intended to be used for components which pool memory and create memory segments around long-lived memory regions . concode_field_sep Factory factory concode_field_sep void ensureInitialized concode_elem_sep MemorySegment allocateUnpooledSegment concode_elem_sep MemorySegment allocateUnpooledSegment concode_elem_sep MemorySegment allocateUnpooledSegment concode_elem_sep MemorySegment wrapPooledOffHeapMemory concode_elem_sep MemorySegment wrapPooledOffHeapMemory concode_elem_sep boolean isInitialized concode_elem_sep Factory getFactory concode_elem_sep MemorySegment wrap concode_elem_sep MemorySegment wrap concode_elem_sep boolean initializeIfNotInitialized
MemorySegment function ( byte [ ] arg0 , Object arg1 ) { ensureInitialized ( ) ; return factory . wrapPooledHeapMemory ( arg0 , arg1 ) ; }