can you write a big endian string to a buffer