Gio.DataInputStream.prototype.set_byte_order

function set_byte_order(order: Gio.DataStreamByteOrder): void {
    // Gjs wrapper for g_data_input_stream_set_byte_order()
}
  

This function sets the byte order for the given stream. All subsequent reads from the stream will be read in the given order.

order

a Gio.DataStreamByteOrder to set.