GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
lfe_bits(3) lfe_bits(3)

lfe_bits - Lisp Flavoured Erlang (LFE) common binary functions

This module contains a collection of library functions for for handling binaries. They are generally not called by the user.

parse_bitspecs(Specs) ->

  {ok,Size,{Type,Unit,Sign,Endian}} |
  {error,Error}.

    

Parse a bitspec and return the data. Unmentioned fields get the value 'default'.

get_bitspecs(Specs) ->


  {ok,Size,{Type,Unit,Sign,Endian}} |
  {error,Error}.

    

Parse a bitspec, apply defaults and return the data. Unmentioned fields get the value 'default'.

The following error values are returned:

{undefined_bittype,Type}

bittype_unit

Robert Virding.
2011-2016

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.