## org.das2.qstream.Util

Utility classes for formatting and parsing streams.

## Util( )

## decodeArray

decodeArray( String s ) → int[]

### Parameters

s - a String

### Returns:

int[]
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## encodeArray

encodeArray( int[] qube, int off, int len ) → String

### Parameters

qube - an int[]
off - an int
len - an int

### Returns:

java.lang.String
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## singletonChildElement

singletonChildElement( org.w3c.dom.Element n ) → org.w3c.dom.Element

returns the single child element of a node, or throws IllegalArgumentException

### Parameters

n - an Element

### Returns:

an org.w3c.dom.Element
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## subArray

subArray( int[] qube, int off, int len ) → int[]

### Parameters

qube - an int[]
off - an int
len - an int

### Returns:

int[]
[search for examples] [view on GitHub] [view on old javadoc] [view source]