# Class: com.pnfsoftware.jeb.util.io.LEDataOutputStream

Little\-endian version of a [DataOutputStream](DataOutputStream).

## Constructor: LEDataOutputStream
- parameter: `out`, type: `java.io.OutputStream`

Description: Create a little\-endian data output stream.
parameter: out: wrapped output stream

## Method: close


## Method: size
- return type: `int`

Description: Get the number of bytes written.
return: byte count

## Method: write
- parameter: `b`, type: `byte[]`
- parameter: `off`, type: `int`
- parameter: `len`, type: `int`


## Method: writeBoolean
- parameter: `v`, type: `boolean`


## Method: writeByte
- parameter: `v`, type: `int`


## Method: writeBytes
- parameter: `s`, type: `java.lang.String`

Description: Danger: not portable\! Uses local system encoding.

## Method: writeChar
- parameter: `v`, type: `int`


## Method: writeChars
- parameter: `s`, type: `java.lang.String`


## Method: writeDouble
- parameter: `v`, type: `double`


## Method: writeFloat
- parameter: `v`, type: `float`


## Method: writeInt
- parameter: `v`, type: `int`


## Method: writeIntULEB128
- parameter: `v`, type: `int`

Description: Write an unsigned LEB128\-encoded 32\-bit integer.
parameter: v: value to encode
throws: if the output stream cannot be written

## Method: writeLong
- parameter: `v`, type: `long`


## Method: writeLongULEB128
- parameter: `v`, type: `long`

Description: Write an unsigned LEB128\-encoded 64\-bit integer.
parameter: v: value to encode
throws: if the output stream cannot be written

## Method: writeShort
- parameter: `v`, type: `int`


## Method: writeUTF
- parameter: `str`, type: `java.lang.String`

Description: Note: the string counter is stored in big\-endian.

