# Interface ReadableByteStreamController

interface ReadableByteStreamController {
byobRequest: undefined;
desiredSize: number;
close(): void;
enqueue(chunk: ArrayBufferView): void;
error(error?: any): void;
}

- Defined in node_modules/@types/node/stream/web.d.ts:229
- Defined in node_modules/@types/node/stream/web.d.ts:236

#####
Index

### Properties

byobRequest
desiredSize

### Methods

close
enqueue
error

##
Properties

### `Readonly` byobRequest

byobRequest: undefined

- Defined in node_modules/@types/node/stream/web.d.ts:230

### `Readonly` desiredSize

desiredSize: number

- Defined in node_modules/@types/node/stream/web.d.ts:231

##
Methods

### close

- close(): void

- #### Returns void

  - Defined in node_modules/@types/node/stream/web.d.ts:232

### enqueue

- enqueue(chunk): void

- #### Parameters

  - chunk: ArrayBufferView

  #### Returns void

  - Defined in node_modules/@types/node/stream/web.d.ts:233

### error

- error(error?): void

- #### Parameters

  - `Optional` error: any

  #### Returns void

  - Defined in node_modules/@types/node/stream/web.d.ts:234