For ENG-5962, satisfy assertion forbidding direct byte buffers