# Class: com.pnfsoftware.jeb.core.units.code.wincommon.Winunp

Bytes unpacking and primitives reading routines with quirks and specificities related to Microsoft file formats. All provided buffers are assumed to be set little\-endian.

## Constructor: Winunp


## Static Method: getSINT16
- parameter: `b`, type: `java.nio.ByteBuffer`
- return type: `int`


## Static Method: getSINT32
- parameter: `b`, type: `java.nio.ByteBuffer`
- return type: `long`


## Static Method: getSINT8
- parameter: `b`, type: `java.nio.ByteBuffer`
- return type: `int`


## Static Method: getUINT16
- parameter: `b`, type: `java.nio.ByteBuffer`
- return type: `int`

Description: \-1 is sign\-extended

## Static Method: getUINT32
- parameter: `b`, type: `java.nio.ByteBuffer`
- return type: `long`

Description: \-1 is sign\-extended

## Static Method: getUINT8
- parameter: `b`, type: `java.nio.ByteBuffer`
- return type: `int`

Description: \-1 is sign\-extended

## Static Method: parseCString
- parameter: `b`, type: `java.nio.ByteBuffer`
- return type: `byte[]`

Description: Read until a 0\-byte is encountered. Will throw if EOS is reached before a 0 is encountered.
parameter: b: buffer
return: the bytes read, excluding the trailing zero

