title: DataOutputStream equivalent for Dart
body: <p>I am looking for a Java DataOutputStream equivalent for Dart where I can write arbitrary types (int, string, float, byte array etc). There is RandomAccessFile but it does not provide byte array or float-double values. ByteArray seems to have some necessary functions but I am not sure how to  write it to a file or an OutputStream.</p>