diff -r 2d43f05b284c -r 4f0f0b1b8e0b sources/network/bytestream.h --- a/sources/network/bytestream.h Thu Jul 23 18:07:39 2015 +0300 +++ b/sources/network/bytestream.h Thu Jul 23 18:26:30 2015 +0300 @@ -67,20 +67,20 @@ void clear(); void grow_to_fit (unsigned long bytes); void read (unsigned char* buffer, unsigned long length); - char read_byte(); - short int read_short(); - long int read_long(); + int8_t read_byte(); + int32_t read_long(); + int16_t read_short(); String read_string(); float read_float(); void resize (unsigned long length); void write (const unsigned char* val, unsigned int length); void write_buffer (const Bytestream& other); void write_buffer (const Vector& other); - void write_byte (char val); + void write_byte (int8_t val); void write_double (double val); void write_float (float val); - void write_long (long int val); - void write_short (short int val); + void write_long (int32_t val); + void write_short (int16_t val); void write_string (const String& val); Bytestream& operator= (const Bytestream& other);