The recent finaliser addition involved moving the LockedBuffer's own methods into a separate struct. This messed with the documentation generated by godoc, so this PR aims to rectify that.
We add an explicit Buffer() method that functions identically to the old .Buffer syntax.
The recent finaliser addition involved moving the LockedBuffer's own methods into a separate struct. This messed with the documentation generated by godoc, so this PR aims to rectify that.
We add an explicit
Buffer()
method that functions identically to the old.Buffer
syntax.