Class FastPathViews.MethodPathByteView

java.lang.Object
dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.MethodPathByteView
All Implemented Interfaces:
dev.relism.fpr.core.ByteView
Enclosing class:
FastPathViews

public static final class FastPathViews.MethodPathByteView extends Object implements dev.relism.fpr.core.ByteView
Mutable composite view: method bytes + path. Reused via ThreadLocal, call reset() before use.
  • Constructor Details

    • MethodPathByteView

      public MethodPathByteView()
  • Method Details

    • reset

      public void reset(byte[] method, dev.relism.fpr.core.ByteView path)
    • length

      public int length()
      Specified by:
      length in interface dev.relism.fpr.core.ByteView
    • byteAt

      public byte byteAt(int index)
      Specified by:
      byteAt in interface dev.relism.fpr.core.ByteView