#fixed code
                              @Test
  public void testBits_Int() throws Exception {
    assertArrayEquals(new byte[]{0xD}, BeginBin().Bits(JBBPNumberOfBits.BITS_4, 0xFD).End().toByteArray());
  }
#vulnerable code 
                              @Test
  public void testBits_Int() throws Exception {
    assertArrayEquals(new byte[]{0xD}, binStart().Bits(JBBPNumberOfBits.BITS_4, 0xFD).end().toByteArray());
  } 
                            #location 3 
                            #vulnerability type RESOURCE_LEAK