HEX as SIZE

Source: Internet
Author: User

1KB = 1024x768 b = 2^10b=bin 0000 0000b=hex 4 0 0 B

sz_1k = 0x400

  /*Handy Sizes*/ #definesz_1k 0x00000400#definesz_4k 0x00001000#definesz_8k 0x00002000#definesz_16k 0x00004000#definesz_64k 0x00010000#definesz_128k 0x00020000#definesz_256k 0x00040000#definesz_512k 0x00080000#defineSz_1m 0x00100000#defineSz_2m 0x00200000#definesz_4m 0x00400000#defineSz_8m 0x00800000#definesz_16m 0x01000000#defineSz_32m 0x02000000#definesz_64m 0x04000000#definesz_128m 0x08000000#definesz_256m 0x10000000#definesz_512m 0x20000000#defineSZ_1G 0x40000000#defineSZ_2G 0x80000000

HEX as SIZE

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.