Be concise.
Be useful.
All contributions dictatorially edited by webmasters to match personal tastes.
Please do not paste any copyright violating material.
Please try to avoid dependencies to third-party libraries and frameworks.
type Byte is range 0 .. 255
with Size => 8;
type Byte_Array is array (Positive range <>) of Byte;
Buf : Byte_Array (1 .. 1_000_000);
vector<byte> _buf(1'000'000);
C++20
var buf = new byte[1000000];
let buf = new Buffer (1e6)
1e6 = 1 * 10 ^ 6
byte[] buf = new byte[1000000];
byte buf[] = new byte[1_000_000];
byte buf[] = new byte[(int) 1e6];
var
buf: Pointer;
begin
buf := GetMem(1000000);
end;
my $buf = ' ' * 1_000_000;
buf = bytearray(1000000)