val capacity: Int
Buffer's capacity (including reserved startGap and endGap. Value for released buffer is unspecified.