/*
* This file is part of JSTUN.
*
* Copyright (c) 2005 Thomas King - All rights
* reserved.
*
* This software is licensed under either the GNU Public License (GPL),
* or the Apache 2.0 license. Copies of both license agreements are
* included in this distribution.
*/
class Main{
public static final int oneByteToInteger(byte value) throws UtilityException {
return (int)value & 0xFF;
}
}
class UtilityException extends Exception {
private static final long serialVersionUID = 3545800974716581680L;
UtilityException(String mesg) {
super(mesg);
}
}