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

Vlad Dumitrescu <>
Mon Apr 19 19:37:07 CEST 2010


On Mon, Apr 19, 2010 at 17:14, zabrane Mikael <> 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