2 * Copyright (c) 2013 Pantheon Technologies s.r.o. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.openflowjava.protocol.api.util;
12 * @author michal.polkorab
15 public abstract class BinContent {
17 private BinContent() {
23 * @return int part wrapped in long
25 public static long intToUnsignedLong(int value) {
26 return value & 0x00000000ffffffffL;
31 * @return long cut into int
33 public static int longToSignedInt(long value) {