java get byte from object that is not serializibe -
this question has answer here:
- converting object byte array in java 5 answers
is there way bytes of object doesn't implement serializeble? in cpp know can copy size of object bytes address of object in memory, there way in java?
edit: don't see how duplication of converting object byte array in java clarify meant convert specific non serilizable object
no, isn't possible raw bytes of object. java doesn't have such view of world, objects have underlying byte representation.
note serialization doesn't give access byte representation of object either. serialization way of encoding information in object byte array. doesn't give raw bytes. if somehow searched through memory serialized bytes wouldn't find them.
Comments
Post a Comment