How to read a certain number of characters (as opposed to bytes) in Crystal?

前端 未结 0 1351
生来不讨喜
生来不讨喜 2020-12-14 20:38

In Crystal, if I have a string (or a file), how do I read a certain number of characters at a time? Using functions like IO#read,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题