[erlang-questions] Convert an OtpErlangBinary object to Java InputStream

Vlad Dumitrescu vladdu55@REDACTED
Mon Apr 19 19:37:07 CEST 2010


On Mon, Apr 19, 2010 at 17:14, zabrane Mikael <zabrane3@REDACTED> wrote:
> Now, how about to convert an UTF8 String to OtpErlangBinary() ?

byte[] buf = string.getBytes();
OtpErlangBinary b = new OtpErlangBinary(buf);

regards,
Vlad


More information about the erlang-questions mailing list