isPrimitive()) { throw new DecodeException('Null value must be primitive.'); } // null type has always zero length Length::expectFromDER($data, $idx, 0); $offset = $idx; return self::create(); } }