com.j256.simplemagic.types
Class LittleEndianString16Type

java.lang.Object
  extended by com.j256.simplemagic.types.StringType
      extended by com.j256.simplemagic.types.BigEndianString16Type
          extended by com.j256.simplemagic.types.LittleEndianString16Type
All Implemented Interfaces:
MagicMatcher

public class LittleEndianString16Type
extends BigEndianString16Type

A two-byte unicode (UCS16) string in little-endian byte order.

Author:
graywatson

Nested Class Summary
 
Nested classes/interfaces inherited from class com.j256.simplemagic.types.StringType
StringType.StringTestInfo
 
Constructor Summary
LittleEndianString16Type()
           
 
Method Summary
protected  char bytesToChar(int firstByte, int secondByte)
           
 
Methods inherited from class com.j256.simplemagic.types.BigEndianString16Type
extractValueFromBytes
 
Methods inherited from class com.j256.simplemagic.types.StringType
convertTestString, findOffsetMatch, isMatch, renderValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LittleEndianString16Type

public LittleEndianString16Type()
Method Detail

bytesToChar

protected char bytesToChar(int firstByte,
                           int secondByte)
Overrides:
bytesToChar in class BigEndianString16Type


This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.