digitalmars.D - byte[] to hex string
- Suliman (8/8) Apr 13 2016 Does anybody have any ready to use byte[] to hex convert method?
- WebFreak001 (6/15) Apr 13 2016 https://dlang.org/phobos/std_digest_digest.html#toHexString
- Suliman (2/20) Apr 13 2016 Oh, thanks! It's really cool! I expect much more code!
Does anybody have any ready to use byte[] to hex convert method? http://stackoverflow.com/questions/623104/byte-to-hex-string Could anybody help me to convert any of this methods to D? The root of my problem is from here http://stackoverflow.com/questions/36600503/can-i-insert-in-db-binary-blob-data-in-body-of-sql-request-if-driver-do-not-supp I want to try mass hex string as SQL test to insert its in FireBird blob.
Apr 13 2016
On Wednesday, 13 April 2016 at 14:15:21 UTC, Suliman wrote:Does anybody have any ready to use byte[] to hex convert method? http://stackoverflow.com/questions/623104/byte-to-hex-string Could anybody help me to convert any of this methods to D? The root of my problem is from here http://stackoverflow.com/questions/36600503/can-i-insert-in-db-binary-blob-data-in-body-of-sql-request-if-driver-do-not-supp I want to try mass hex string as SQL test to insert its in FireBird blob.https://dlang.org/phobos/std_digest_digest.html#toHexString --- import std.digest.digest; ubyte[] data; string hexString = data.toHexString();
Apr 13 2016
On Wednesday, 13 April 2016 at 14:22:39 UTC, WebFreak001 wrote:On Wednesday, 13 April 2016 at 14:15:21 UTC, Suliman wrote:Oh, thanks! It's really cool! I expect much more code!Does anybody have any ready to use byte[] to hex convert method? http://stackoverflow.com/questions/623104/byte-to-hex-string Could anybody help me to convert any of this methods to D? The root of my problem is from here http://stackoverflow.com/questions/36600503/can-i-insert-in-db-binary-blob-data-in-body-of-sql-request-if-driver-do-not-supp I want to try mass hex string as SQL test to insert its in FireBird blob.https://dlang.org/phobos/std_digest_digest.html#toHexString --- import std.digest.digest; ubyte[] data; string hexString = data.toHexString();
Apr 13 2016