#fixed code
                              @Test
  public void testByte() throws Exception {
    assertArrayEquals(new byte[]{-34}, BeginBin().Byte(-34).End().toByteArray());
  }
#vulnerable code 
                              @Test
  public void testByte() throws Exception {
    assertArrayEquals(new byte[]{-34}, binStart().Byte(-34).end().toByteArray());
  } 
                            #location 3 
                            #vulnerability type RESOURCE_LEAK