gamnit: make `SpriteSet` public so clients can use its services
[nit.git] / lib / binary / binary.nit
index c15cb52..dbe07be 100644 (file)
@@ -107,7 +107,7 @@ redef abstract class Writer
        # Compared to `write_string`, this method supports null bytes in `text`.
        fun write_block(text: Text)
        do
-               write_int64 text.bytelen
+               write_int64 text.byte_length
                write text
        end