Code example for ByteBuffer

Methods: putInt

0
        return 4; 
    } 
 
    @Override 
    protected void p_serializeToBuffer(ByteBuffer b) {
        b.putInt(m_errorCode);
    } 
}