On 2/5/18 1:27 PM, Vino wrote:
Hi All,Request your help on how to convert a string to binary,eg "test" to 01110100 01100101 01110011 01110100.
import std.stdio, std.string; writefln("%(%b %)", "test".representation); -Steve
Steven Schveighoffer via Digitalmars-d-learn Mon, 05 Feb 2018 10:45:32 -0800
On 2/5/18 1:27 PM, Vino wrote:
Hi All,Request your help on how to convert a string to binary,eg "test" to 01110100 01100101 01110011 01110100.
import std.stdio, std.string; writefln("%(%b %)", "test".representation); -Steve