Avatar
https://developer.apple.com/reference/swift/managedbuffer
Typical usage stores a count and capacity in Header and destroys any live elements in the deinit of a subclass.
サブクラス作ってdeinit呼ぶ必要があるのでは?