Models a non-empty entity.
Models a non-empty entity. The buffer array is guaranteed to have a size greater than zero. CAUTION: Even though the byte array is directly exposed for performance reasons all instances of this class are assumed to be immutable! spray never modifies the buffer contents after an HttpEntity.NonEmpty instance has been created. If you modify the buffer contents by writing to the array things WILL BREAK!
Models an empty entity.