<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.24.4">
</HEAD>
<BODY>
Good afternoon everybody,<BR>
<BR>
I have the following question that bugs me. <BR>
AS of R13 we have unicode as a type specifier so we can have in a binary something like :<BR>
<<Value:Size/TypeSpecifierList ,...,ValueN:SizeN/TypeSpecifierList>><BR>
Where <BR>
Type= integer | float | binary | bytes | bitstring | bits | utf8 | utf16 | utf32<BR>
<BR>
Where can I find some indications on how to define a type specifier so in my module I can have some new types like:<BR>
<BR>
<<Value:Size/huffman,..>><BR>
or<BR>
<<Value:Size/fibonacci,..>><BR>
or<BR>
<<Value:Size/base64,...>><BR>
or any custom encoding method for that matter.<BR>
<BR>
My question may seem (and probably is) pretty trivial, but I am new in writting code with erlang and some things are not pretty easy to find if you do not know where to look.<BR>
I have looked into unicode.erl (in R13B source code) but haven't seen anything relevant to answer my question.<BR>
<BR>
Best regards and many thanks<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
Costin-Tiberiu RADU <<A HREF="mailto:costin.tiberiu.radu@gmail.com">costin.tiberiu.radu@gmail.com</A>>
</TD>
</TR>
</TABLE>
<BR>
</BODY>
</HTML>