Commit eb638671 authored by Shubham Ajmera's avatar Shubham Ajmera
Browse files

Replace unSafe methods from DirectByteBuffer

Replaced unsafe memory allocation with Memory Class. Also, changed
getter and setter methods to use memory insead of unsafe methods. The
change has provided backing array for the direct byte buffers and memory
accesses using memory methods would improve performance.

Change-Id: Iebb7865d18360edb41a42d38daa7fc6b7e71ef28
parent a5f312ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment