reaktivity / nukleus-maven-plugin

Nukleus Maven Plugin
Apache License 2.0
0 stars 10 forks source link

Add StringFW.value() and String16FW.value() methods #61

Closed jfallows closed 6 years ago

jfallows commented 6 years ago

Otherwise we need to call StringFW.asString() to detect null, which has undesirable overhead when return value is non-null.

public DirectBuffer value()
{
  return length0() == -1 ? null : valueRO;
}