Home | History | Annotate | Download | only in Support

Lines Matching refs:write

26 /// Adapter to write values to a stream in a particular byte order.
30 template <typename value_type> void write(ArrayRef<value_type> Vals) {
32 write(V);
34 template <typename value_type> void write(value_type Val) {
36 OS.write((const char *)&Val, sizeof(value_type));
42 inline void Writer<little>::write<float>(float Val) {
43 write(FloatToBits(Val));
48 inline void Writer<little>::write<double>(double Val) {
49 write(DoubleToBits(Val));
54 inline void Writer<big>::write<float>(float Val) {
55 write(FloatToBits(Val));
60 inline void Writer<big>::write<double>(double Val) {
61 write(DoubleToBits(Val));