diff options
Diffstat (limited to 'gamemode/shared/lockbox/padding.lua')
| -rw-r--r-- | gamemode/shared/lockbox/padding.lua | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/gamemode/shared/lockbox/padding.lua b/gamemode/shared/lockbox/padding.lua deleted file mode 100644 index 72be077..0000000 --- a/gamemode/shared/lockbox/padding.lua +++ /dev/null @@ -1,21 +0,0 @@ -local Stream = include("stream.lua"); - -local ZeroPadding = function(blockSize,byteCount) - - local paddingCount = blockSize - ((byteCount -1) % blockSize) + 1; - local bytesLeft = paddingCount; - - local stream = function() - if bytesLeft > 0 then - bytesLeft = bytesLeft - 1; - return 0x00; - else - return nil; - end - end - - return stream; - -end - -return ZeroPadding; |
