Zero copy deserialization

  • Instead of copying the bytes into the object, we can just make the new String object point to the address of the bytes
  • Even though we are not copying the bytes of data itself, we still need to create a String object that points to the address of the bytes
  • Endianess and how does it affect deserialization ?