public void initialize(byte[] bytes, KnownVersion version) {
    this.bytes = bytes;
    nBytes = bytes.length;
    pos = 0;
    this.version = version;
  }
Initialize this byte array stream with given byte array and version.

@param bytes the content of this stream. Note that this byte array will be read by this class
       (a copy is not made) so it should not be changed externally.
@param version the product version that serialized the object on given bytes
geode-serialization/src/main/java/org/apache/geode/internal/serialization/ByteArrayDataInput.java