Finding way for usage ByteBuffer