giveBackJsonBytes function

void giveBackJsonBytes(
  1. List<int> view
)

Gives back the buffer of jsonBytesView: call it when view is copied. Until then, every JSON encode of this isolate writes into a new buffer, so it can not change view.

Implementation

void giveBackJsonBytes(List<int> view) => _jsonBytesEncoder.giveBack(view);