Skip to content

refactor: ReadableContent handler #132

@neilime

Description

@neilime

Create a class to manipulate ReadableContent. It is Buffer under the hood, but Buffer must not be used directly by other ones

  1. First method to be implemented is

append(...contents: ReadableContent[]): ReadableContent;

This method must replace the existing usage FormatterAdapter.appendContent, so the method FormatterAdapter.appendContent must be removed.

  1. The second method to be implemented is: from(content:string), and should be used everywhere to replace the class of Buffer.from

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions