Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changes between Version 3 and Version 4 of tango.io.stream.DataStream

Show
Ignore:
Author:
elite01 (IP: 88.71.40.234)
Timestamp:
06/27/08 01:53:03 (16 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • tango.io.stream.DataStream

    v3 v4  
    1111||`double`||`getDouble`||`putDouble`|| 
    1212||`void[]`||`get`||put|| 
    13 Using a cast, there's also support for `ubyte`, `ushort`, `uint`, `ulong`, `char` (using `byte`), `wchar` (using `short`), `dchar` (using `int`) and arrays of those, although array elements won't be swapped if specified (see [wiki:tango.io.stream.DataStream#Byteorder Byte order]). This does not apply to `char[]`, `byte[]` and `ubyte[]`, whose elements are byte order neutral. 
     13Using a cast, there's also support for `ubyte`, `ushort`, `uint`, `ulong`, `char` (using `byte`), `wchar` (using `short`), `dchar` (using `int`) and arrays of those, although array elements aren't swapped even if `flip` is `true` (see [wiki:tango.io.stream.DataStream#Byteorder Byte order]). This does not apply to `char[]`, `byte[]` and `ubyte[]`, whose elements are byte order neutral. 
    1414= Data format = 
    1515A `void[]` is written with the number of elements as written by `putInt` and the array content as it is in memory.