private void fromBytes(BytesWritable bytesWritable)
throws IOException, InterruptedException, TException {
if (mTransport == null) {
initIdMap();
mTransport = new TMemoryInputTransport();
skipProto = new TBinaryProtocol(mTransport);
}
byte[] bytes = bytesWritable.getBytes();
mTransport.reset(bytes, 0, bytesWritable.getLength());