 |
- Author:
- elite01 (IP: 88.71.40.234)
- Timestamp:
- 06/26/08 21:53:03 (5 years ago)
- Comment:
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
tango.io.stream.DataStream
| v3 |
v4 |
|
| 11 | 11 | ||`double`||`getDouble`||`putDouble`|| |
|---|
| 12 | 12 | ||`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. |
|---|
| | 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 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. |
|---|
| 14 | 14 | = Data format = |
|---|
| 15 | 15 | A `void[]` is written with the number of elements as written by `putInt` and the array content as it is in memory. |
|
 |
 |
|
 |
Copyright © 2006-2013 Tango. All Rights Reserved. | Page Width:
Static or
Dynamic