public float getFloat() {
		float i = 0;
		byte b = this.value[this.index++];
		switch (b) {
		case XsonConst.FLOAT1:
			i = ByteUtils.byteToFloat(this.value, this.index, 1);
			this.incrementIndex(1);
			break;
		case XsonConst.FLOAT2:
			i = ByteUtils.byteToFloat(this.value, this.index, 2);
			this.incrementIndex(2);
			break;
		case XsonConst.FLOAT3:
			i = ByteUtils.byteToFloat(this.value, this.index, 3);
			this.incrementIndex(3);
			break;
		case XsonConst.FLOAT:
			i = ByteUtils.byteToFloat(this.value, this.index, 4);
			this.incrementIndex(4);
			break;
		default:
			throw new XsonDeserializerException("Illegal float mark '"
					+ Integer.toHexString(b & 0xFF) + "' at index "
					+ this.index);
		}
		return i;
	}