doc: fix typed list formatting · nodejs/node@1940a2c

@@ -1500,7 +1500,7 @@ console.log(Buffer.isEncoding(''));

15001500

added: v0.11.3

15011501

-->

150215021503-

* {integer} **Default:** `8192`

1503+

* Type: {integer} **Default:** `8192`

1504150415051505

This is the size (in bytes) of pre-allocated internal `Buffer` instances used

15061506

for pooling. This value may be modified.

@@ -1557,7 +1557,7 @@ console.log(buf.toString('utf8'));

1557155715581558

### `buf.buffer`

155915591560-

* {ArrayBuffer} The underlying `ArrayBuffer` object based on which this `Buffer`

1560+

* Type: {ArrayBuffer} The underlying `ArrayBuffer` object based on which this `Buffer`

15611561

object is created.

1562156215631563

This `ArrayBuffer` is not guaranteed to correspond exactly to the original

@@ -1585,7 +1585,7 @@ console.log(buffer.buffer === arrayBuffer);

1585158515861586

### `buf.byteOffset`

158715871588-

* {integer} The `byteOffset` of the `Buffer`'s underlying `ArrayBuffer` object.

1588+

* Type: {integer} The `byteOffset` of the `Buffer`'s underlying `ArrayBuffer` object.

1589158915901590

When setting `byteOffset` in `Buffer.from(ArrayBuffer, byteOffset, length)`,

15911591

or sometimes when allocating a `Buffer` smaller than `Buffer.poolSize`, the

@@ -2426,7 +2426,7 @@ If `value` is an empty string or empty `Buffer`, `byteOffset` will be returned.

24262426

added: v0.1.90

24272427

-->

242824282429-

* {integer}

2429+

* Type: {integer}

2430243024312431

Returns the number of bytes in `buf`.

24322432

@@ -5221,7 +5221,7 @@ added:

52215221

- v18.15.0

52225222

-->

522352235224-

* input {Buffer | ArrayBuffer | TypedArray} The input to validate.

5224+

* `input` {Buffer | ArrayBuffer | TypedArray} The input to validate.

52255225

* Returns: {boolean}

5226522652275227

This function returns `true` if `input` contains only valid ASCII-encoded data,

@@ -5237,7 +5237,7 @@ added:

52375237

- v18.14.0

52385238

-->

523952395240-

* input {Buffer | ArrayBuffer | TypedArray} The input to validate.

5240+

* `input` {Buffer | ArrayBuffer | TypedArray} The input to validate.

52415241

* Returns: {boolean}

5242524252435243

This function returns `true` if `input` contains only valid UTF-8-encoded data,

@@ -5251,7 +5251,7 @@ Throws if the `input` is a detached array buffer.

52515251

added: v0.5.4

52525252

-->

525352535254-

* {integer} **Default:** `50`

5254+

* Type: {integer} **Default:** `50`

5255525552565256

Returns the maximum number of bytes that will be returned when

52575257

`buf.inspect()` is called. This can be overridden by user modules. See

@@ -5263,7 +5263,7 @@ Returns the maximum number of bytes that will be returned when

52635263

added: v3.0.0

52645264

-->

526552655266-

* {integer} The largest size allowed for a single `Buffer` instance.

5266+

* Type: {integer} The largest size allowed for a single `Buffer` instance.

5267526752685268

An alias for [`buffer.constants.MAX_LENGTH`][].

52695269

@@ -5273,7 +5273,7 @@ An alias for [`buffer.constants.MAX_LENGTH`][].

52735273

added: v3.0.0

52745274

-->

527552755276-

* {integer} The largest length allowed for a single `string` instance.

5276+

* Type: {integer} The largest length allowed for a single `string` instance.

5277527752785278

An alias for [`buffer.constants.MAX_STRING_LENGTH`][].

52795279

@@ -5387,7 +5387,7 @@ changes:

53875387

2<sup>32</sup> - 1 on 64-bit architectures.

53885388

-->

538953895390-

* {integer} The largest size allowed for a single `Buffer` instance.

5390+

* Type: {integer} The largest size allowed for a single `Buffer` instance.

5391539153925392

On 32-bit architectures, this value currently is 2<sup>30</sup> - 1 (about 1

53935393

GiB).

@@ -5404,7 +5404,7 @@ This value is also available as [`buffer.kMaxLength`][].

54045404

added: v8.2.0

54055405

-->

540654065407-

* {integer} The largest length allowed for a single `string` instance.

5407+

* Type: {integer} The largest length allowed for a single `string` instance.

5408540854095409

Represents the largest `length` that a `string` primitive can have, counted

54105410

in UTF-16 code units.