PageRenderTime 167ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/js/lib/Socket.IO-node/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/NullPad.as

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
ActionScript | 34 lines | 18 code | 4 blank | 12 comment | 0 complexity | dfd1c24f850efa7eae9e3b8f2592b139 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
  1. /**
  2. * NullPad
  3. *
  4. * A padding class that doesn't pad.
  5. * Copyright (c) 2007 Henri Torgemane
  6. *
  7. * See LICENSE.txt for full license information.
  8. */
  9. package com.hurlant.crypto.symmetric
  10. {
  11. import flash.utils.ByteArray;
  12. /**
  13. * A pad that does nothing.
  14. * Useful when you don't want padding in your Mode.
  15. */
  16. public class NullPad implements IPad
  17. {
  18. public function unpad(a:ByteArray):void
  19. {
  20. return;
  21. }
  22. public function pad(a:ByteArray):void
  23. {
  24. return;
  25. }
  26. public function setBlockSize(bs:uint):void {
  27. return;
  28. }
  29. }
  30. }