summaryrefslogtreecommitdiff
path: root/src/addons/GifMaker/godot-gdgifexporter/gdgifexporter/little_endian.gd
blob: cb865e1a371f76edacecc8620d7f1236f748d6a0 (plain)
1
2
3
4
5
extends Reference


func int_to_2bytes(value: int) -> PoolByteArray:
	return PoolByteArray([value & 255, (value >> 8) & 255])