-
/*
- * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
+ * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
Assert.assertTrue(data_sh[0] == (byte) 255);
Assert.assertTrue(data_sh[1] == (byte) 128);
- data_sh = BitBufferHelper.toByteArray((int) 511, len);
+ data_sh = BitBufferHelper.toByteArray(511, len);
Assert.assertTrue(data_sh[0] == (byte) 255);
Assert.assertTrue(data_sh[1] == (byte) 128);