pub fn byte_length(&self) -> usize {
        if self.end_byte < 0 {
            if let Some(v) = &self.value {
                return v.len();
            } else {
                return 0;
            }
        }

        return self.end_byte as usize - self.start_byte;
    }
/**
     * Gets the byte length of the unencoded field value
     * @return the byte length of the unencoded field value
     */
Gets the byte length of the unencoded field value
@return the byte length of the unencoded field value
Gets the byte length of the unencoded field value @return the byte length of the unencoded field value
pub fn byte_length(&self) -> usize {
        if self.end_byte < 0 {
            if let Some(v) = &self.value {
                return v.len();
            } else {
                return 0;
            }
        }
        return self.end_byte as usize - self.start_byte;
    }
pub fn byte_length ( & self ) -> usize { if self . end_byte < 0 { if let Some ( v ) = & self . value { return v . len ( ) ; } else { return 0 ; } } return self . end_byte as usize - self . start_byte ; }
Gets the byte length of the unencoded field value
 @return the byte length of the unencoded field value
Gets the byte length of the unencoded field value @return the byte length of the unencoded field value
&self
&self