blob: 932a84ba37d71e8003362e458dbb977e15630f06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
/*
* LittleEndianHandler.java
* Copyright (C) 2003
*
* $Id: LittleEndianHandler.java,v 1.1 2004-07-07 19:59:07 hzi Exp $
*/
package jake2.game;
/**
* LittleEndianHandler</code>
*/
public final class LittleEndianHandler extends EndianHandler {
/* (non-Javadoc)
* @see quake2.EndianHandler#BigFloat(float)
*/
public float BigFloat(float f) {
return swapFloat(f);
}
/* (non-Javadoc)
* @see quake2.EndianHandler#BigShort(short)
*/
public short BigShort(short s) {
return swapShort(s);
}
/* (non-Javadoc)
* @see quake2.EndianHandler#BigLong(int)
*/
public int BigLong(int i) {
return swapInt(i);
}
/* (non-Javadoc)
* @see quake2.EndianHandler#LittleFloat(float)
*/
public float LittleFloat(float f) {
return f;
}
/* (non-Javadoc)
* @see quake2.EndianHandler#LittleShort(short)
*/
public short LittleShort(short s) {
return s;
}
/* (non-Javadoc)
* @see quake2.EndianHandler#LittleLong(int)
*/
public int LittleLong(int i) {
return i;
}
}
|