java/proto/src/main/java/com/pravala/protocol/SerializableBase.java
public boolean deserializeBase ( ReadBuffer readBuffer ) throws CodecException
    {
        orgDataBuf = null;

        // deserializeData should NOT modify the buffer...
        boolean ret = deserializeData ( readBuffer );

        // Lets keep the buffer for later - other messages will be able to deserialize
        // themselves using this base message

        orgDataBuf = new ReadBuffer ( readBuffer );

        return ret;
    }
/**
     * Deserializes an entire, single, message from the buffer
     *
     * It calls deserializeData from inheriting classes, but does NOT decode the total message's length.
     * It assumes that the entire data passed for deserializing is a single message.
     *
     * @param readBuffer The buffer to deserialize the data from. Its offset is NOT modified.
     * @return True if the message has been successfully deserialized,
     *         False if an unknown field was found, and throws an exception on errors
     * @throws CodecException
     */
Deserializes an entire, single, message from the buffer
It calls deserializeData from inheriting classes, but does NOT decode the total message's length.
It assumes that the entire data passed for deserializing is a single message.

@param readBuffer The buffer to deserialize the data from. Its offset is NOT modified.
@return True if the message has been successfully deserialized,
False if an unknown field was found, and throws an exception on errors
@throws CodecException
Deserializes an entire single message from the buffer It calls deserializeData from inheriting classes but does NOT decode the total message ' s length . It assumes that the entire data passed for deserializing is a single message . @param readBuffer The buffer to deserialize the data from . Its offset is NOT modified . @return True if the message has been successfully deserialized False if an unknown field was found and throws an exception on errors @throws CodecException
public boolean deserializeBase ( ReadBuffer readBuffer ) throws CodecException
    {
        orgDataBuf = null;
        boolean ret = deserializeData ( readBuffer );
        orgDataBuf = new ReadBuffer ( readBuffer );
        return ret;
    }
public boolean deserializeBase ( ReadBuffer readBuffer ) throws CodecException { orgDataBuf = null ; boolean ret = deserializeData ( readBuffer ) ; orgDataBuf = new ReadBuffer ( readBuffer ) ; return ret ; }
Deserializes an entire, single, message from the buffer
 It calls deserializeData from inheriting classes, but does NOT decode the total message's length.
Deserializes an entire single message from the buffer It calls deserializeData from inheriting classes but does NOT decode the total message ' s length .
// deserializeData should NOT modify the buffer... // Lets keep the buffer for later - other messages will be able to deserialize // themselves using this base message