public void writeTo(Output output, Property message) throws IOException
{
if(message.key == null)
throw new UninitializedMessageException(message);
output.writeString(1, message.key, false);
if(message.value == null)
throw new UninitializedMessageException(message);
output.writeString(2, message.value, false);
}