bytes.rb

Copyright © 2005 Rich Kilmer, Thomas Sawyer

 Ruby License

  This module is free software. You may use, modify, and/or redistribute this
  software under the same terms as Ruby.

  This program is distributed in the hope that it will be useful, but WITHOUT
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  FOR A PARTICULAR PURPOSE.

Special Thanks

Special thanks to Richard Kilmer for the orignal work. This library is based on the original library bytes.rb Copyright © 2004 by Rich Kilmer.

Also thanks to Alexander Kellett for suggesting it be included in Facets.

Authors and Contributors

  • Rich Kilmer
  • Thomas Sawyer

Developer Notes

  TODO Currently kilo, mega, etc. are all powers of two and not ten,
       which technically isn't corrent even though it is common usage.

  TODO The in_* notation is weak. If a better nomentclature is thought
       of then consider changing this.