Package net.md_5.bungee.nbt.limit

# Class NBTLimiter

java.lang.Object
net.md_5.bungee.nbt.limit.NBTLimiter

public class NBTLimiter extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NBTLimiter(long maxBytes)`
  `NBTLimiter(long maxBytes, int maxDepth)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `countBytes(long amount)`
  `void`
  `countBytes(long amount, long factor)`
  `void`
  `pop()`
  `void`
  `push()`
  `static NBTLimiter`
  `unlimitedSize()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### NBTLimiter

    public NBTLimiter(long maxBytes)

  - ### NBTLimiter

    public NBTLimiter(long maxBytes, int maxDepth)

- ## Method Details

  - ### unlimitedSize

    public static NBTLimiter unlimitedSize()

  - ### countBytes

    public void countBytes(long amount)

  - ### countBytes

    public void countBytes(long amount, long factor)

  - ### push

    public void push()

  - ### pop

    public void pop()