[erlang-questions] Type and Opaque - Defining size for a type

Ken Robinson kenrobinsonster@REDACTED
Tue Apr 12 06:24:58 CEST 2011

Hi All,
I was wondering if one can define a type to be a certain size, say an
integer() to be an unsigned byte (16 bits).

This is all I have
-opaque u16int():: bitstring()

Any help would be greatly appreciated.

Ken Robinson
Mob +61438681120
Home +61738523767

More information about the erlang-questions mailing list