elasticsearch/elasticsearch — pull request #5527 by hhoffstaette (2014-03-25 09:21:30+00:00)
Title: Let ByteArray/BigByteArray.get() indicate whether a byte[] was materialized.

Necessary and cleaner instead of letting client code "guess" whether pages are shared or copied.