Preconditions.checkNotNull(buffer, "buffer");