ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:unpackbyte

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
functions:unpackbyte [2017/03/19 17:48] korshunfunctions:unpackbyte [2017/03/19 17:52] korshun
Line 1: Line 1:
 ====== UnpackByteX ====== ====== UnpackByteX ======
 {{tag>packing}} {{tag>packing}}
-''int UnpackByte1(int packed)'' +  * ''int UnpackByte1(int packed)'' 
- +  ''int UnpackByte2(int packed)'' 
-''int UnpackByte2(int packed)'' +  ''int UnpackByte3(int packed)'' 
- +  ''int UnpackByte4(int packed)''
-''int UnpackByte3(int packed)'' +
- +
-''int UnpackByte4(int packed)''+
  
 ===== Description ===== ===== Description =====
-Returns the nth byte of the integer. Intended to extract values packed with [[PackBytes]].+Returns the Xth byte of the integer. Intended to extract values packed with [[PackBytes]].
  
 ===== Examples ===== ===== Examples =====
 See [[PackBytes]] for examples. See [[PackBytes]] for examples.