MorphDeserializer.cpp
497 Bytes
/*
* File: MorphDeserializer.cpp
* Author: mlenart
*
* Created on 16 maj 2014, 12:46
*/
#include "MorphDeserializer.hpp"
#include "deserialization/deserializationUtils.hpp"
namespace morfeusz {
MorphDeserializer::MorphDeserializer() {
}
MorphDeserializer::~MorphDeserializer() {
}
long MorphDeserializer::deserialize(
const unsigned char* ptr,
InterpsGroupsReader& res) const {
uint16_t size = readInt16(ptr);
res.update(ptr, size);
return size + 2;
}
}