protected void setByteArrayValue ( byte [ ] input , int offset , int length ) { if ( ( offset + length ) > input . length ) { throw new IllegalArgumentException ( "Invalid length: " + offset + "+" + length + " > " + input . length ) ; } this . sValue = null ; this . bValue = input ; this . offset = offset ; this . valueLength = length ; if ( ELEM_ADDED != this . status ) { this . status = ELEM_CHANGED ; } }
Set the byte array value of this header based on the input array but starting at the input offset into that array and with the given length .