class SPPDecoder implements MALDecoder {

	@Override
	public Boolean decodeBoolean() throws MALException {
		byte b = read();
		switch (b) {
			case 0:
				return Boolean.FALSE;
			case 1:
				return Boolean.TRUE;
			default:
				throw new MALException(INVALID_VALUE);
//				throw new MALException(INVALID_VALUE + " The value is: " + Byte.toString(b));
		}
	}

	public  SPPDecoder(final InputStream inputStream, final Map properties);

}