Is serialization a required to transfer data over a wire?

Below I read and wonder if the statement is true.

Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, or a connection will be resurrected over the network later on the same or another computer environment. [1] When the result of a series of bits is re-read according to the serialization format, this can be used to create a semantically identical clone of the original object. For many complex objects, such as those that make extensive use of links, this process is not direct.

+5
source share
11 answers

- , , , ..

, , :

struct Color
{
    int R, G, B;
};

, . . unsigned char * R, G B, .

+6

- , . - dotNET, , . , , " ", .

, dotNET , , dotNET .

, 4 , - . , , , unicode ansi .. ..

, , /OS/dev, .

+4

, - . , . . , . , , , , , , , , , . ?

, List<ComplexType> , , ComplexType.

+3

a ?

.

, . , , , / , ... - .

- .

- . , .

+2

, , . - TCP/IP, - - () .

- , , Undefined Behavior ( C/++).

, , , .

+1

- , , .

0

- . , XML . JSON.

0

, . - , , , - .

, , (, , ) , .

. "". , ; - - ... "". , , ..., .

, , / . ( Java, # VM .., VMware). JSON ( YAML). , , .

, ""... , . , . : 1 , ( 1.0) .

0

, ; , " " ; , . (, ..) , . , , "" (, ), ( ).

, "" . : - ( ). - .

0

- . , . .

0

, , , -, , , UART , , , 8 ,

0
source

All Articles