Skip to content

VReadOnlyMemoryStream should take const buffer in constructor. #34

@trygve-isaacson

Description

@trygve-isaacson

Currently, the constructor for VReadOnlyMemoryStream takes a non-const pointer to the buffer. Since write operations are prevented and is its purpose, it should instead take a pointer to a const buffer, so that the caller can supply a read-only buffer without having to cast away const externally.

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions