#include <stdexcept>
#include <string>
#include <cstdio>
#include <iostream>
#include "datatypes.h"
#include "buffer.h"