Skip to content

ByteBuffer extension, prevent naming conflicts

Choose a tag to compare

@VaporBot VaporBot released this 23 Nov 13:18
· 258 commits to main since this release
3931a06
This patch was authored and released by @fabianfett.

Motivation

We currently extend ByteBuffer with non prefixed utility methods. This may lead to breaking code, if NIO introduces those utilities itself. As potentially planned here: apple/swift-nio#1990

Changes

Prefix all ByteBuffer utility methods

Result

Chances reduced of breaking code.