package com.steamcommunity.siplus.steamscreenshots;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import com.google.common.io.LittleEndianDataInputStream;
public final class ChannelEncryptResultIncoming extends Incoming {
static final int MESSAGE = 1305;
int mEResult;
ChannelEncryptResultIncoming(IncomingData data) throws IncomingException {
super(data);
}
@Override
void fromProtobuf(byte[] data) throws IncomingException {
throw new IncomingException();
}
@Override
void fromRaw(byte[] data) throws IncomingException {
try {
@SuppressWarnings("resource")
LittleEndianDataInputStream stream = new LittleEndianDataInputStream(new ByteArrayInputStream(data));
mEResult = stream.readInt();
} catch (IOException e) {
throw new IncomingException();
}
}
}