Merge: Stringify Bytes
authorJean Privat <jean@pryen.org>
Thu, 3 Dec 2015 20:59:29 +0000 (15:59 -0500)
committerJean Privat <jean@pryen.org>
Thu, 3 Dec 2015 20:59:29 +0000 (15:59 -0500)
commitaa72915522a6e0ef89c8125ff561492ba9234af5
treee87513f3adfbb9f065956ff3620ca24ee8aea0f7
parent4a2d2f15a69c0bb3679b48610f9c83fae0a04de5
parentfd679563ceaaacaadf5a8ebdd75b52cabf4019f5
Merge: Stringify Bytes

This PR adds some String-like functions to Bytes, along with an abstraction for Byte-based patterns.

Also, a bug was found within `Bytes::is_empty` and `FlatText` is now public since there was no real rationale to keep it private

Pull-Request: #1860
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/core/bytes.nit
lib/core/text/abstract_text.nit