Initial opendaylight infrastructure commit!!
[controller.git] / third-party / openflowj / src / main / java / org / openflow / util / U8.java
1 package org.openflow.util;
2
3 public class U8 {
4     public static short f(byte i) {
5         return (short) ((short)i & 0xff);
6     }
7
8     public static byte t(short l) {
9         return (byte) l;
10     }
11 }