• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1-- We need to put it into a separate file to avoid syntax error like `unexpected symbol near '~'`
2local m = {}
3
4
5m.GetAlignSize = function(k, size)
6    return ((~k) + 1) & (size - 1)
7end
8
9
10m.string_pack = string.pack
11m.string_unpack = string.unpack
12
13
14return m
15