stream: move decoder to stream and rename as codec
authorLucas Bajolet <lucas.bajolet@gmail.com>
Fri, 6 Apr 2018 02:15:28 +0000 (22:15 -0400)
committerLucas Bajolet <lucas.bajolet@gmail.com>
Tue, 1 May 2018 18:25:31 +0000 (14:25 -0400)
commit04fd4399055f1e05bccedc796cbce67a489a0f81
treea23ff29723dba0e6073ac1e964827cd85f706ec2
parentdebe0682b7cb5e134925547ef7080869c35d7a17
stream: move decoder to stream and rename as codec

Since every stream will need to pass through a codec to code/decode to
and from textual data, the former 'decoder' attribute is now moved to
Stream and renamed to better reflect its use.

Signed-off-by: Lucas Bajolet <lucas.bajolet@gmail.com>
lib/core/stream.nit