# Class CLNChannelsLayoutDescriptions

java.lang.Object
com.io7m.calino.api.CLNChannelsLayoutDescriptions

public final class CLNChannelsLayoutDescriptions extends Object
Functions over layout descriptions.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static CLNChannelsLayoutDescriptionType`
  `parseLayoutDescriptor(String text)`
  Parse a layout descriptor.
  `static int`
  `totalBits(List<CLNChannelDescription> channels)`
  Determine the total required bits of the list of channels.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### totalBits

    public static int totalBits(List<CLNChannelDescription> channels)
    Determine the total required bits of the list of channels.
    Parameters:
      `channels` - The channels
    Returns:
      The total bits

  - ### parseLayoutDescriptor

    public static CLNChannelsLayoutDescriptionType parseLayoutDescriptor(String text) throws ParseException
    Parse a layout descriptor.
    Parameters:
      `text` - The descriptor
    Returns:
      A parsed layout
    Throws:
      `ParseException` - On errors