document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. // An 8-bit \'byte\' value:
  2. byte aByte = (byte)0b00100001;
  3.  
  4. // A 16-bit \'short\' value:
  5. short aShort = (short)0b1010000101000101;
  6.  
  7. // Some 32-bit \'int\' values:
  8. int anInt1 = 0b10100001010001011010000101000101;
  9. int anInt2 = 0b101;
  10. int anInt3 = 0B101; // The B can be upper or lower case.
  11.  
  12. // A 64-bit \'long\' value. Note the "L" suffix:
  13. long aLong = 0b1010000101000101101000010100010110100001010001011010000101000101L;
');